diff options
Diffstat (limited to 'gcc/testsuite/gcc.target/i386/pr55458.c')
-rw-r--r-- | gcc/testsuite/gcc.target/i386/pr55458.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gcc/testsuite/gcc.target/i386/pr55458.c b/gcc/testsuite/gcc.target/i386/pr55458.c index 81d85ec8f8f..7164ca905db 100644 --- a/gcc/testsuite/gcc.target/i386/pr55458.c +++ b/gcc/testsuite/gcc.target/i386/pr55458.c @@ -2,10 +2,12 @@ /* { 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)); /* { dg-error "operand has impossible constraints" } */ + asm volatile ("":"+m" (a), "+m" (b), "+m" (c)); } |