blob: fa5f5bd7d3516358814a9fa292cd818d6baffd4d [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 ("movl $0,%%ebx" : : : "ebx");
}