diff options
author | Revital Eres <eres@il.ibm.com> | 2007-09-04 12:11:11 +0000 |
---|---|---|
committer | Revital Eres <revitale@gcc.gnu.org> | 2007-09-04 12:11:11 +0000 |
commit | a1a826110720eda37c73f829daa4ee243ee953f5 (patch) | |
tree | 67cecf461cc930540853bd8eb0d4f19b3b21b0ce /gcc/tree-vectorizer.c | |
parent | cea79118fa00faf811626e67209ca666468bc76f (diff) | |
download | gcc-a1a826110720eda37c73f829daa4ee243ee953f5.zip gcc-a1a826110720eda37c73f829daa4ee243ee953f5.tar.gz gcc-a1a826110720eda37c73f829daa4ee243ee953f5.tar.bz2 |
Add new fp flags: -fassociative-math and -freciprocal-math
Co-Authored-By: R. Clint Whaley <whaley@cs.utsa.edu>
Co-Authored-By: Richard Guenther <rguenther@suse.de>
From-SVN: r128075
Diffstat (limited to 'gcc/tree-vectorizer.c')
-rw-r--r-- | gcc/tree-vectorizer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/tree-vectorizer.c b/gcc/tree-vectorizer.c index 11349c2..c239d29 100644 --- a/gcc/tree-vectorizer.c +++ b/gcc/tree-vectorizer.c @@ -2304,7 +2304,7 @@ vect_is_simple_reduction (loop_vec_info loop_info, tree phi) outer-loop vectorization is safe. */ /* CHECKME: check for !flag_finite_math_only too? */ - if (SCALAR_FLOAT_TYPE_P (type) && !flag_unsafe_math_optimizations + if (SCALAR_FLOAT_TYPE_P (type) && !flag_associative_math && !nested_in_vect_loop_p (vect_loop, def_stmt)) { /* Changing the order of operations changes the semantics. */ |