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: PATCH RFC: Warn about pointer wraparound with -Wstrict-overflow


Mark Mitchell <mark@codesourcery.com> writes:

> * I think Richard's right that this is a new feature for 4.2, which
> means we would have to bend the rules to put it in.  But, the patch
> seems very safe by its construction, since flag_strict_overflow is
> usually false.  So, I think it should be in 4.2.  Jakub, Joseph, what
> say you?

Note that flag_strict_overflow defaults to true when using -O2.

Ian


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