This is the mail archive of the gcc-patches@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]

Re: RFC: -Wstrict-aliasing extension


Jim Wilson wrote:


I'm also disinclined towards adding more warning options


I suggested -Wstrict-aliasing=2 as an alternative which I think helps
with the design issue.  This avoids adding a new option, and makes it
clearer what the relationship is with the existing -Wstrict-aliasing
option.  -Wstrict-aliasing=2 will emit more warnings than
-Wstrict-aliasing, including some that you may not want.

Yes, I can certainly live with that.


Thanks,

--
Mark Mitchell
CodeSourcery, LLC
mark@codesourcery.com


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