modernc.org/ccgo/v3@v3.16.14/lib/testdata/gcc-9.1.0/gcc/testsuite/gcc.c-torture/compile/pr46637.c (about)

     1  /* PR middle-end/46637 */
     2  
     3  struct S { int s[5]; } *p;
     4  
     5  void
     6  foo (long x)
     7  {
     8    long a = x == 1 ? 4L : 1L;
     9    asm ("" : "+m" (p->s[a]));
    10    p->s[0]++;
    11  }