Debian Codegraph @

gcc/testsuite/gcc.c-torture/compile/pr96998.c

raw
1 /* { dg-do compile { target arm*-*-* aarch64*-*-* } } */
2
3 int h(void);
4 struct c d;
5 struct c {
6 int e[1];
7 };
8
9 void f(void) {
10 int g;
11 for (;; g = h()) {
12 int *i = &d.e[g];
13 asm("" : "=Q"(*i));
14 }
15 }