[Bug middle-end/83977] [8 Regression] ICE in simd_clone_clauses_extract, at omp-simd-clone.c:184

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Jan 24 10:06:00 GMT 2018


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

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Another related example:
struct S { int a, b, c; };

#pragma omp declare simd uniform(z) linear(v:1)
__attribute__((noinline)) static int
foo (int x, int y, struct S z, int u, int v)
{
  return x + y + z.a;
}

int
bar (int x, int y, int z)
{
  struct S s = { z, 1, 1 };
  return foo (x, y, s, 0, 0);
}


More information about the Gcc-bugs mailing list