diff options
author | dorit <dorit@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-10-30 05:25:10 +0000 |
---|---|---|
committer | dorit <dorit@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-10-30 05:25:10 +0000 |
commit | 2483fa6824054f570c6a4cf4875b8307797731b9 (patch) | |
tree | 98666a1ffa4711b44b4da76ac33052abebba122d /gcc/tree-vectorizer.c | |
parent | ed1c544cfa4663ffa31adabb11115802a9c21d1a (diff) | |
download | gcc-2483fa6824054f570c6a4cf4875b8307797731b9.tar.gz |
PR tree-optimization/32893
* tree-vectorize.c (vect_can_force_dr_alignment_p): Check
STACK_BOUNDARY instead of PREFERRED_STACK_BOUNDARY.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@129764 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-vectorizer.c')
-rw-r--r-- | gcc/tree-vectorizer.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/gcc/tree-vectorizer.c b/gcc/tree-vectorizer.c index 29acfac5289..43b51a7da19 100644 --- a/gcc/tree-vectorizer.c +++ b/gcc/tree-vectorizer.c @@ -1606,12 +1606,9 @@ vect_can_force_dr_alignment_p (const_tree decl, unsigned int alignment) if (TREE_STATIC (decl)) return (alignment <= MAX_OFILE_ALIGNMENT); else - /* This is not 100% correct. The absolute correct stack alignment - is STACK_BOUNDARY. We're supposed to hope, but not assume, that - PREFERRED_STACK_BOUNDARY is honored by all translation units. - However, until someone implements forced stack alignment, SSE - isn't really usable without this. */ - return (alignment <= PREFERRED_STACK_BOUNDARY); + /* This used to be PREFERRED_STACK_BOUNDARY, however, that is not 100% + correct until someone implements forced stack alignment. */ + return (alignment <= STACK_BOUNDARY); } |