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++/30567] -O3 optimizer bug



------- Comment #21 from rguenth at gcc dot gnu dot org  2007-04-18 22:47 -------
Code in comment #19 is perfectly correct.  I can reproduce the difference with
the attached testcase and -O -fstrict-aliasing -finline-functions. 
-fno-strict-aliasing fixes it.


-- 


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


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