[Bug c++/59928] Possible incorrect warning "comparison is always false due to limited range of data type"
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Jan 23 21:07:00 GMT 2014
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59928
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
CC| |jakub at gcc dot gnu.org
Resolution|--- |INVALID
--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
That would be undefined behavior. So, the warning is correct.
More information about the Gcc-bugs
mailing list