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));
  }
}

Reply via email to