parent
fa53ca7196
commit
d91684adfb
|
@ -0,0 +1,13 @@
|
|||
/* { 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");
|
||||
}
|
Loading…
Reference in New Issue