This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/54972] O2 breaks something in 4.6.3
- From: "schwab at linux-m68k dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 18 Oct 2012 11:25:00 +0000
- Subject: [Bug c++/54972] O2 breaks something in 4.6.3
- Auto-submitted: auto-generated
- References: <bug-54972-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54972
--- Comment #1 from Andreas Schwab <schwab@linux-m68k.org> 2012-10-18 11:25:00 UTC ---
lzo_gcc_test.cpp: In function âint main(int, char**)â:
lzo_gcc_test.cpp:44:44: warning: dereferencing type-punned pointer will break
strict-aliasing rules [-Wstrict-aliasing]
lzo_gcc_test.cpp:59:17: warning: dereferencing type-punned pointer will break
strict-aliasing rules [-Wstrict-aliasing]