2008-02-20 Richard Guenther <rguenther@suse.de>
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 20 Feb 2008 14:13:47 +0000 (14:13 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 20 Feb 2008 14:13:47 +0000 (14:13 +0000)
commit46ef53472228317e33520abbcd9e5e258c2053d2
treec5e05848bec7920261ee516331b46b45437148c4
parentc898f165b3aaac2e69f486ebceb086931ca0c4c1
2008-02-20  Richard Guenther  <rguenther@suse.de>

* tree.h (fold_real_zero_addition_p): Declare.
* fold-const.c (fold_real_zero_addition_p): Export.
* tree-ssa-reassoc.c (eliminate_using_constants): Also handle
floating-point operations with zero and one.

* gcc.dg/tree-ssa/reassoc-13.c: New testcase.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@132480 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/fold-const.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/tree-ssa/reassoc-13.c [new file with mode: 0644]
gcc/tree-ssa-reassoc.c
gcc/tree.h