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/34973] Wno-strict-aliasing is not working



------- Comment #10 from manu at gcc dot gnu dot org  2008-01-28 10:51 -------
(In reply to comment #8)
> (In reply to comment #6)
> > But shouldn't -Wno-strict-aliasing suppress the warning?
> 
> Yes if you actually have -Wno-strict-aliasing after -Wall.

Andrew, note that this is not longer true in 4.2.3 and 4.3. -Wall won't
override -Wno-strict-aliasing and it won't override -Wstrict-aliasing=2 (and
the same for -Wstrict-overflow variants)


-- 


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


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