summaryrefslogtreecommitdiff
path: root/gcc/tree-vectorizer.c
diff options
context:
space:
mode:
authorrevitale <revitale@138bc75d-0d04-0410-961f-82ee72b054a4>2007-09-04 12:11:11 +0000
committerrevitale <revitale@138bc75d-0d04-0410-961f-82ee72b054a4>2007-09-04 12:11:11 +0000
commit49d060d774950223dc4acbf852f21652095db37a (patch)
tree67cecf461cc930540853bd8eb0d4f19b3b21b0ce /gcc/tree-vectorizer.c
parent4076554cd7837c65c54a7b0508ef64fb3271a369 (diff)
downloadgcc-49d060d774950223dc4acbf852f21652095db37a.tar.gz
Add new fp flags: -fassociative-math and -freciprocal-math
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@128075 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-vectorizer.c')
-rw-r--r--gcc/tree-vectorizer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/tree-vectorizer.c b/gcc/tree-vectorizer.c
index 11349c2771f..c239d296316 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. */