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 middle-end/38503] [4.4 regression] warnings from -isystem headers strikes back.



------- 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


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