PATCH RFC: Warn about pointer wraparound with -Wstrict-overflow

Ian Lance Taylor iant@google.com
Tue Apr 8 22:16:00 GMT 2008


"Richard Guenther" <richard.guenther@gmail.com> writes:

> How about some C++ code using libstdc++?  (of course #pragma system_header
> may save our day here)

I built libstdc++ itself, and got two warnings with
-Wstrict-overflow=3, neither of which were a pointer wraparound
warning.

Ian



More information about the Gcc-patches mailing list