[Bug libgomp/66429] ICE in expand_GOMP_SIMD_LAST_LANE

vries at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Jun 5 10:19:00 GMT 2015


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

--- Comment #1 from vries at gcc dot gnu.org ---
ICE still reproduces with command line:
...
$ gcc for-2.c -fopenmp -O2 -S
..

and pruned for-2.c:
...
float b[10][15][10];

__attribute__((noreturn)) void
noreturn (void)
{
  for (;;);
}

__attribute__((noinline, noclone)) void
f12_pf_simd_static32 (int n)
{
  int i;

#pragma omp parallel for simd schedule(static, 32) collapse(3)
  for (i = 0; i < 10; i++)
    for (int j = n; j < 8; j++)
      for (long k = -10; k < 10; k++)
 {
   b[i][j][k] += 16;
   noreturn ();
   b[i][j][k] -= 32;
 }
}
...



More information about the Gcc-bugs mailing list