aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2005-01-07 07:49:02 +0100
committerAndreas Jaeger <aj@gcc.gnu.org>2005-01-07 07:49:02 +0100
commit4f1cfe85af8f53bdf31aa5b27cd6b5a7998f17bd (patch)
tree8964a78524f6e8ace029487c6726e48d6fbc2176 /gcc
parenta7e8d7dbe7563a53d39958ce9721a3e623c7142d (diff)
downloadgcc-4f1cfe85af8f53bdf31aa5b27cd6b5a7998f17bd.zip
gcc-4f1cfe85af8f53bdf31aa5b27cd6b5a7998f17bd.tar.gz
gcc-4f1cfe85af8f53bdf31aa5b27cd6b5a7998f17bd.tar.bz2
* gcc.dg/i386-local.c: Handle -m32/-m64 runs correctly.
From-SVN: r93039
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/ChangeLog4
-rw-r--r--gcc/testsuite/gcc.dg/i386-local.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index b3ac9e9..b4a0f09 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,7 @@
+2005-01-07 Andreas Jaeger <aj@suse.de>
+
+ * gcc.dg/i386-local.c: Handle -m32/-m64 runs correctly.
+
2005-01-07 Bud Davis <bdavis9659@comcast.net>
PR fortran/18398
diff --git a/gcc/testsuite/gcc.dg/i386-local.c b/gcc/testsuite/gcc.dg/i386-local.c
index 45d6aba..2fda2a2 100644
--- a/gcc/testsuite/gcc.dg/i386-local.c
+++ b/gcc/testsuite/gcc.dg/i386-local.c
@@ -1,7 +1,7 @@
/* { dg-do compile { target i?86-*-* x86_64-*-* } } */
/* { dg-options "-O2 -funit-at-a-time" } */
-/* { dg-final { scan-assembler "magic\[^\\n\]*eax" { target i?86-*-* } } } */
-/* { dg-final { scan-assembler "magic\[^\\n\]*edi" { target x86_64-*-* } } } */
+/* { dg-final { scan-assembler "magic\[^\\n\]*eax" { target ilp32 } } } */
+/* { dg-final { scan-assembler "magic\[^\\n\]*edi" { target lp64 } } } */
/* Verify that local calling convention is used. */
static t(int) __attribute__ ((noinline));