Add missing in r216154 test.

From-SVN: r216156
This commit is contained in:
Kirill Yukhin 2014-10-13 17:29:31 +00:00
parent fa53ca7196
commit d91684adfb
1 changed files with 13 additions and 0 deletions

View File

@ -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");
}