[Bug tree-optimization/110924] [14 Regression] ICE on valid code at -O{s,2,3} on x86_64-linux-gnu: verify_ssa failed

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Aug 7 00:31:38 GMT 2023


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

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Here is a testcase without calling main:
```

int a[1], b, c, d, e, f, g;
[[gnu::noinline]]
void h(int i, int j) {
  int *k = 0;
  if (*k)
    h(0, 0);
  g = i && d;
}
int jj() {
  if (c)
    goto l;
  if (!a)
    while (1) {
      f = 1;
      while (f)
        h(b && jj(), e);
      while (1)
        ;
    l:;
    }
  return 0;
}
```


More information about the Gcc-bugs mailing list