[Bug c/69612] Optimizer does not consider overflow
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Feb 1 22:42:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69612
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> ---
This program triggers undefined behavior.
You can e.g. use -fsanitize=undefined to see it diagnosed at runtime.
Once undefined behavior is reached, anything can happen.
More information about the Gcc-bugs
mailing list