(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.c-torture/
compile/
pr46637.c
       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  }