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 c/23106] -Wstrict-aliasing=2 doesn't warn for all aliasing problems


------- Additional Comments From fn_x at hotmail dot com  2005-07-28 00:00 -------
The bug this is marked a duplicate of is about -Wall, which includes only
-Wstrict-aliasing. This bug is about -Wstrict-aliasing=2. It is documented as
warning for "all code which might break the strict aliasing rules that the
compiler is using for optimization". I certainly agree that it is reasonable not
to warn when only -Wstrict-aliasing is given, but if you don't want to warn here
either, would it be fair to ask to at least update the documentation?

-- 


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


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