[Bug middle-end/67857] noreturn + volatile results in wrong code
karl at skomski dot com
gcc-bugzilla@gcc.gnu.org
Mon Oct 5 21:49:00 GMT 2015
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67857
--- Comment #3 from karl at skomski dot com ---
Thanks for the fast answer and sorry for wasting your time :/
Am Montag, 5. Oktober 2015 schrieb pinskia at gcc dot gnu.org :
> 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'
>
> --
> You are receiving this mail because:
> You reported the bug.
>
More information about the Gcc-bugs
mailing list