[Bug tree-optimization/91178] [9 Regression] Infinite recursion in split_constant_offset in slp after r260289

vsevolod.livinskij at frtk dot ru gcc-bugzilla@gcc.gnu.org
Fri Jul 26 20:02:00 GMT 2019


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

--- Comment #8 from Vsevolod Livinskiy <vsevolod.livinskij at frtk dot ru> ---
It looks like the fix doesn't handle all of the cases. I still can see similar
bugs on the trunk.

Reproducer:
int a[100][70304];
int b[100];
void c() {
  for (int d = 2; d < 4; d++)
    for (int e = 2; e <= 50; e++)
      for (int f = 32; f <= 38; f++)
        b[d + f] -= a[e][5];
}

Error"
>$ gcc -O3 -march=skylake-avx512 repr.c
gcc: internal compiler error: Segmentation fault signal terminated program cc1

GCC version 10.0.0 (revision: 273743)


More information about the Gcc-bugs mailing list