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 libstdc++/36742] [4.2 Regression] g++ -O2 produces wrong code



------- Comment #5 from bkoz at gcc dot gnu dot org  2008-07-11 20:56 -------
Isn't this the kind of thing that -Wstrict-aliasing or -Wstrict-aliasing=n
should warn about?

I will start to experiment with this, in the thought that we should not
actually have stuff in the library with aliasing problems.

Not expecting to fix this on the 4.2.x branch though, but if we find issues
that can be fixed on trunk/4.3.x, may consider doing so. 


-- 


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


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