2008-02-20 Richard Guenther <rguenther@suse.de>
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 20 Feb 2008 14:14:55 +0000 (14:14 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 20 Feb 2008 14:14:55 +0000 (14:14 +0000)
commita145256ae404209920b120605c2c6b75f17ba37c
tree4f3c12af6c8a7f71b6cb1c2536dd5f7815b793ff
parent46ef53472228317e33520abbcd9e5e258c2053d2
2008-02-20  Richard Guenther  <rguenther@suse.de>

* fold-const.c (split_tree): Associate floatig-point expressions
if flag_associative_math is set.

* gcc.dg/fold-reassoc-1.c: New testcase.
* gcc.dg/tree-ssa/recip-3.c: Adjust to not compute d/d.

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