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