https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80970

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |NEW

--- Comment #3 from Martin Liška <marxin at gcc dot gnu.org> ---
Reduced test-case:

$ cat pr80970.i
int a, b, c, d, e;
void f ()
{
  long g, h;
  if (c)
    e = d;
  g = d & 31;
  h = 1 << g;
  a = e | h;
  b = a;
}

m68k-suse-linux-gcc-7 pr80970.i -c -O2
pr80970.i: In function 'f':
pr80970.i:11:1: internal compiler error: in find_reloads, at reload.c:4077
 }
 ^
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://bugs.opensuse.org/> for instructions.

Looks it's a 7 regression as GCC 6 cross compiler works for me.

Reply via email to