This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/38503] [4.4 regression] warnings from -isystem headers strikes back.
- From: "rguenther at suse dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 27 Feb 2009 12:04:26 -0000
- Subject: [Bug middle-end/38503] [4.4 regression] warnings from -isystem headers strikes back.
- References: <bug-38503-7667@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #26 from rguenther at suse dot de 2009-02-27 12:04 -------
Subject: Re: [4.4 regression] warnings from -isystem
headers strikes back.
On Fri, 27 Feb 2009, pluto at agmk dot net wrote:
> ------- Comment #25 from pluto at agmk dot net 2009-02-27 11:22 -------
> (In reply to comment #24)
> > The user can use -Wno-strict-aliasing.
> >
>
> naturally, but -O2 turns on -fstrict-aliasing, so using strict-aliasing
> without warnings about aliasing violations is a bit horrible :)
On IRC we agreed that turning strict-aliasing warnings off for
system-headers is not a good idea.
So -Wno-strict-aliasing is the only thing I can offer.
Richard.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38503