blob: 7164ca905db279e2f2fd6dbc12f794cef2005825 [file] [log] [blame]
/* { dg-do compile } */
/* { dg-require-effective-target ia32 } */
/* { dg-options "-fPIC" } */
/* Test verifies that %ebx is no longer fixed when generating PIC code on i686. */
int a, b, c;
void
foo (void)
{
asm volatile ("":"+m" (a), "+m" (b), "+m" (c));
}