aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/i386-local.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gcc.dg/i386-local.c')
-rw-r--r--gcc/testsuite/gcc.dg/i386-local.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/testsuite/gcc.dg/i386-local.c b/gcc/testsuite/gcc.dg/i386-local.c
index 0c3103007cf..45d6aba53db 100644
--- a/gcc/testsuite/gcc.dg/i386-local.c
+++ b/gcc/testsuite/gcc.dg/i386-local.c
@@ -1,6 +1,7 @@
/* { dg-do compile { target i?86-*-* x86_64-*-* } } */
/* { dg-options "-O2 -funit-at-a-time" } */
-/* { dg-final { scan-assembler "magic\[^\\n\]*eax" } } */
+/* { dg-final { scan-assembler "magic\[^\\n\]*eax" { target i?86-*-* } } } */
+/* { dg-final { scan-assembler "magic\[^\\n\]*edi" { target x86_64-*-* } } } */
/* Verify that local calling convention is used. */
static t(int) __attribute__ ((noinline));