1 /* { dg-do compile } */
2 /* { dg-require-effective-target ia32 } */
3 /* { dg-require-effective-target fpic } */
4 /* { dg-options "-fPIC" } */
5 
6 /* Test verifies that %ebx is no longer fixed when generating PIC code on i686.  */
7 
8 int a, b, c;
9 
10 void
foo(void)11 foo (void)
12 {
13   asm volatile ("":"+m" (a), "+m" (b), "+m" (c));
14 }
15