[Bug c/59753] Missing -Woverflow warning with signed constant conversion between T_MAX+1 and UT_MAX
mpolacek at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Feb 5 15:51:00 GMT 2014
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59753
Marek Polacek <mpolacek at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution|--- |WORKSFORME
--- Comment #3 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
OK, if you use -Wpedantic, you'll get all the overflow warnings even without
-Wconversion.
More information about the Gcc-bugs
mailing list