[Bug rtl-optimization/96998] GCC ICEs in on building AArch64 Linux kernel after basepoints/gcc-11-2903-g6b3034eaba83

acoplan at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Sep 9 16:04:21 GMT 2020


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

--- Comment #4 from Alex Coplan <acoplan at gcc dot gnu.org> ---
Ok, the following reduced testcase ICEs at -O2:

int h(void);
struct c d;
struct c {
  int e[1];
};

void f(void) {
  int g;
  for (;; g = h()) {
    int *i = &d.e[g];
    asm("" : "=Q"(*i));
  }
}


More information about the Gcc-bugs mailing list