[Bug c/46460] warn for shifting more than the bits in the (promoted) type is undefined
mpolacek at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Apr 29 13:06:00 GMT 2014
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46460
Marek Polacek <mpolacek at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |mpolacek at gcc dot gnu.org
Resolution|--- |FIXED
--- Comment #4 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
We have -fsanitize=shift for this now.
More information about the Gcc-bugs
mailing list