fold-const.c (split_tree): Associate floatig-point expressions if flag_associative_ma...
authorRichard Guenther <rguenther@suse.de>
Wed, 20 Feb 2008 14:14:55 +0000 (14:14 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Wed, 20 Feb 2008 14:14:55 +0000 (14:14 +0000)
commit41bb1f06d37ed77ec4b4f88034ac7c16f81f07be
tree4f3c12af6c8a7f71b6cb1c2536dd5f7815b793ff
parent2dc0f63301e9bddc5520f2a283d7a8bfdac21fb6
fold-const.c (split_tree): Associate floatig-point expressions if flag_associative_math is set.

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.

From-SVN: r132481
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