PR inline-asm/84742
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / pr55458.c
blob7164ca905db279e2f2fd6dbc12f794cef2005825
1 /* { dg-do compile } */
2 /* { dg-require-effective-target ia32 } */
3 /* { dg-options "-fPIC" } */
5 /* Test verifies that %ebx is no longer fixed when generating PIC code on i686. */
7 int a, b, c;
9 void
10 foo (void)
12 asm volatile ("":"+m" (a), "+m" (b), "+m" (c));