This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/70199] Crash at -O2 when using labels.
- From: "pinskia at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 11 Mar 2016 20:54:12 +0000
- Subject: [Bug middle-end/70199] Crash at -O2 when using labels.
- Auto-submitted: auto-generated
- References: <bug-70199-4 at http dot gcc dot gnu dot org/bugzilla/>
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.