[Bug middle-end/70199] Crash at -O2 when using labels.
pinskia at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Mar 11 20:54:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70199
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |ice-on-valid-code
Component|c |middle-end
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Is this reduced from some other code because this code seems undefined.
That is :
uint16_t lfsr = 0xACE1u;
...
goto *labels[lfsr & mask];
Will be 0x11 for the inner most loop always and labels has only three elements.
More information about the Gcc-bugs
mailing list