Skip to content
Snippets Groups Projects
Commit 362cb1bb authored by Roger Sayle's avatar Roger Sayle Committed by Roger Sayle
Browse files

re PR middle-end/19331 (Inefficient code generated for bitfield assignment)

	PR middle-end/19331
	* tree.c (get_unwidened): Treat CONVERT_EXPR and NOP_EXPR identically.
	* fold-const.c (fold_sign_changed_comparison): Likewise.
	(fold_binary): Optimize comparisons against widened operands if
	the extension is represented by a CONVERT_EXPR, same as a NOP_EXPR.

From-SVN: r96397
parent 334f3a34
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment