[Bug c/56281] missed VRP optimization from undefined left shift in ISO C99
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Feb 11 06:57:00 GMT 2013
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56281
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jakub at gcc dot gnu.org
--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> 2013-02-11 06:57:30 UTC ---
Given the amount of code in the wild that assumes 1 << 31 etc. work, I think it
would be a bad idea to try to optimize this for C99, especially when it is now
considered valid for C++.
More information about the Gcc-bugs
mailing list