This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/35140] wrong result due to -O2 optimization in combination with std::list
- From: "rguenth at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 20 Feb 2008 14:47:35 -0000
- Subject: [Bug c++/35140] wrong result due to -O2 optimization in combination with std::list
- References: <bug-35140-15747@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #7 from rguenth at gcc dot gnu dot org 2008-02-20 14:47 -------
We should probably admit that we will not fix this bug for GCC 4.1 (there will
be no further release off that branch). A workaround is to use
-fno-strict-aliasing.
Please consider moving to GCC 4.2.x or 4.3.x once it is released.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35140