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 c/41630] [4.3/4.4 Regression] Optimization error on vectors of uint64_t



------- Comment #6 from rguenth at gcc dot gnu dot org  2009-10-08 15:07 -------
With 4.3 and 4.4 it is SRA that does not avoid generating wrong code, with
4.5 SRA optimizes the code correctly and recognizes both forms access the
same memory (and thus we optimize the program to return 0).

Workaround: -fno-tree-sra


-- 


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


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