This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/38477] [strict-aliasing] warning message contains compiler-generated symbols
- 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: 12 Jan 2009 14:51:38 -0000
- Subject: [Bug libstdc++/38477] [strict-aliasing] warning message contains compiler-generated symbols
- References: <bug-38477-16067@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #14 from rguenth at gcc dot gnu dot org 2009-01-12 14:51 -------
Ok, how about -Wstrict-aliasing=3 warning only if both the dereference and the
declaration are not from system-headers (this is then the default for -Wall)
and with -Wstrict-aliasing=2 (or =1) warn if either of them is not from
system-headers?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38477