https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67857
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID --- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- With -fsanitize=undefined I get the following errors at runtime: t.c:12:20: runtime error: left shift of 1 by 31 places cannot be represented in type 'int' t.c:6:8: runtime error: signed integer overflow: 2147483647 + 1 cannot be represented in type 'int' t.c:7:10: runtime error: signed integer overflow: 2147483647 + 1 cannot be represented in type 'int'