This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug tree-optimization/35653] [4.3/4.4 Regression]: gcc-4.3 -O3/-ftree-vectorize regression: incorrect code generation



------- Comment #15 from victork at gcc dot gnu dot org  2008-03-25 10:47 -------
Just to make clear my previous comment.  I think that it *is* possible that
original code violates c/c++ aliasing rules, but the example given by Richard
Guenther is not-vectorized since currently we do not vectorize structures with
a single member. We may want to open a missed-optimization bug report, but this
problem is not related to the possible bug in the subject.
  Actually, the possible problem rises only when we try enforce alignment using
loop peeling. If we enforce alignment using loop versioning, a run-time check
will discover misalignment and a non-vectorized version of loop will be
executed.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35653


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]