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