2014-11-11 Richard Biener <rguenther@suse.de>
commit662274eebc1318f5a70fdb362da74f7913fbf1ba
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 11 Nov 2014 13:23:26 +0000 (11 13:23 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 11 Nov 2014 13:23:26 +0000 (11 13:23 +0000)
tree97ff581f26d92d0c274ac9fe16ef63b259ee439a
parent3d4d7ad1fbc72621be934138ef326dcff994e575
2014-11-11  Richard Biener  <rguenther@suse.de>

* match.pd: Implement patterns from associate_plusminus
and factor in differences from the fold-const.c implementation.
* fold-const.c (fold_binary_loc): Remove patterns here.
* tree-ssa-forwprop.c (associate_plusminus): Remove.
(pass_forwprop::execute): Don't call it.
* tree.c (tree_nop_conversion_p): New function, factored
from tree_nop_conversion.
* tree.h (tree_nop_conversion_p): Declare.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@217349 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/fold-const.c
gcc/match.pd
gcc/tree-ssa-forwprop.c
gcc/tree.c
gcc/tree.h