2 /* { dg-options "-g" } */
4 struct A { int x; unsigned short y; char z[64]; };
6 void __attribute__((noinline))
7 foo (struct A *p, char *q)
9 int f = &p->z[p->y] - q;
11 asm volatile ("nop" : : "g" (f)); /* { dg-final { gdb-test 12 "f" "14" } } */
12 asm volatile ("" : : "g" (p), "g" (q));
19 __builtin_memset (&a, 0, sizeof a);
22 asm volatile ("" : : "r" (&a) : "memory");