aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/tree-ssa/recip-3.c
diff options
context:
space:
mode:
authorRichard Guenther <rguenther@suse.de>2008-02-20 14:14:55 +0000
committerRichard Biener <rguenth@gcc.gnu.org>2008-02-20 14:14:55 +0000
commit41bb1f06d37ed77ec4b4f88034ac7c16f81f07be (patch)
tree4f3c12af6c8a7f71b6cb1c2536dd5f7815b793ff /gcc/testsuite/gcc.dg/tree-ssa/recip-3.c
parent2dc0f63301e9bddc5520f2a283d7a8bfdac21fb6 (diff)
downloadgcc-41bb1f06d37ed77ec4b4f88034ac7c16f81f07be.zip
gcc-41bb1f06d37ed77ec4b4f88034ac7c16f81f07be.tar.gz
gcc-41bb1f06d37ed77ec4b4f88034ac7c16f81f07be.tar.bz2
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
Diffstat (limited to 'gcc/testsuite/gcc.dg/tree-ssa/recip-3.c')
-rw-r--r--gcc/testsuite/gcc.dg/tree-ssa/recip-3.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/gcc.dg/tree-ssa/recip-3.c b/gcc/testsuite/gcc.dg/tree-ssa/recip-3.c
index 45c8db1..04b40f3 100644
--- a/gcc/testsuite/gcc.dg/tree-ssa/recip-3.c
+++ b/gcc/testsuite/gcc.dg/tree-ssa/recip-3.c
@@ -9,7 +9,7 @@ float h ()
int i;
double E, W, P, d;
- W = 1.;
+ W = 1.1;
d = 2.*e;
E = 1. - d;