fold-const.c (tree_swap_operands_p): Put all constants last...
authorRichard Biener <rguenther@suse.de>
Fri, 15 Aug 2014 11:42:01 +0000 (11:42 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Fri, 15 Aug 2014 11:42:01 +0000 (11:42 +0000)
commit09ad9c71aa55114612e605da8774309a05fac6dc
tree307576c9bd6a9927b6e723588a41415771423135
parent5f75acf4a404fd3f73dd9f9670ae95444491c105
fold-const.c (tree_swap_operands_p): Put all constants last...

2014-08-15  Richard Biener  <rguenther@suse.de>

* fold-const.c (tree_swap_operands_p): Put all constants
last, also strip sign-changing NOPs when considering further
canonicalization.  Canonicalize also when optimizing for size.

From-SVN: r214013
gcc/ChangeLog
gcc/fold-const.c