2014-08-15 Richard Biener <rguenther@suse.de>
commit6dc3d4caa89d76b10918fd3b59d50bc3aec189da
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 15 Aug 2014 11:42:01 +0000 (15 11:42 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 15 Aug 2014 11:42:01 +0000 (15 11:42 +0000)
tree307576c9bd6a9927b6e723588a41415771423135
parentf0da22ea933276f2dc8030b864a96d01d60b42d1
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@214013 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/fold-const.c