From 163f8b71672b09e7f3a1c8edc185aa4d1952035b Mon Sep 17 00:00:00 2001 From: Joseph Myers Date: Thu, 22 Sep 2011 15:59:07 +0100 Subject: [PATCH] pad-2.c, [...]: Skip if multilib options contain different -march= from dg-options. * gcc.target/i386/pad-2.c, gcc.target/i386/pad-3.c, gcc.target/i386/pad-4.c, gcc.target/i386/pad-5a.c, gcc.target/i386/pad-5b.c, gcc.target/i386/pad-6a.c, gcc.target/i386/pad-6b.c, gcc.target/i386/pad-7.c, gcc.target/i386/pad-8.c, gcc.target/i386/pad-9.c, gcc.target/i386/pad-10.cm gcc.target/i386/vect-double-1.c: Skip if multilib options contain different -march= from dg-options. From-SVN: r179091 --- gcc/testsuite/ChangeLog | 10 ++++++++++ gcc/testsuite/gcc.target/i386/pad-10.c | 1 + gcc/testsuite/gcc.target/i386/pad-2.c | 1 + gcc/testsuite/gcc.target/i386/pad-3.c | 1 + gcc/testsuite/gcc.target/i386/pad-4.c | 1 + gcc/testsuite/gcc.target/i386/pad-5a.c | 1 + gcc/testsuite/gcc.target/i386/pad-5b.c | 1 + gcc/testsuite/gcc.target/i386/pad-6a.c | 1 + gcc/testsuite/gcc.target/i386/pad-6b.c | 1 + gcc/testsuite/gcc.target/i386/pad-7.c | 1 + gcc/testsuite/gcc.target/i386/pad-8.c | 1 + gcc/testsuite/gcc.target/i386/pad-9.c | 1 + gcc/testsuite/gcc.target/i386/vect-double-1.c | 1 + 13 files changed, 22 insertions(+) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 99cd2ead4b2..696f257ec13 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,13 @@ +2011-09-22 Joseph Myers + + * gcc.target/i386/pad-2.c, gcc.target/i386/pad-3.c, + gcc.target/i386/pad-4.c, gcc.target/i386/pad-5a.c, + gcc.target/i386/pad-5b.c, gcc.target/i386/pad-6a.c, + gcc.target/i386/pad-6b.c, gcc.target/i386/pad-7.c, + gcc.target/i386/pad-8.c, gcc.target/i386/pad-9.c, + gcc.target/i386/pad-10.cm gcc.target/i386/vect-double-1.c: Skip if + multilib options contain different -march= from dg-options. + 2011-09-22 Jonathan Wakely Paolo Carlini diff --git a/gcc/testsuite/gcc.target/i386/pad-10.c b/gcc/testsuite/gcc.target/i386/pad-10.c index e10d24c7da6..d721c64a5c8 100644 --- a/gcc/testsuite/gcc.target/i386/pad-10.c +++ b/gcc/testsuite/gcc.target/i386/pad-10.c @@ -1,4 +1,5 @@ /* { dg-do compile } */ +/* { dg-skip-if "" { i?86-*-* x86_64-*-* } { "-march=*" } { "-march=atom" } } */ /* { dg-options "-O2 -fomit-frame-pointer -march=atom" } */ /* { dg-final { scan-assembler-not "nop" } } */ /* { dg-final { scan-assembler-not "rep" } } */ diff --git a/gcc/testsuite/gcc.target/i386/pad-2.c b/gcc/testsuite/gcc.target/i386/pad-2.c index 37743c483a8..05b19d3887a 100644 --- a/gcc/testsuite/gcc.target/i386/pad-2.c +++ b/gcc/testsuite/gcc.target/i386/pad-2.c @@ -1,4 +1,5 @@ /* { dg-do compile } */ +/* { dg-skip-if "" { i?86-*-* x86_64-*-* } { "-march=*" } { "-march=atom" } } */ /* { dg-options "-O2 -fomit-frame-pointer -march=atom" } */ /* { dg-final { scan-assembler-times "nop" 8 } } */ /* { dg-final { scan-assembler-not "rep" } } */ diff --git a/gcc/testsuite/gcc.target/i386/pad-3.c b/gcc/testsuite/gcc.target/i386/pad-3.c index b9a547d07d8..43d654f3f3b 100644 --- a/gcc/testsuite/gcc.target/i386/pad-3.c +++ b/gcc/testsuite/gcc.target/i386/pad-3.c @@ -1,4 +1,5 @@ /* { dg-do compile } */ +/* { dg-skip-if "" { i?86-*-* x86_64-*-* } { "-march=*" } { "-march=atom" } } */ /* { dg-options "-O2 -fomit-frame-pointer -march=atom -fno-pic" } */ /* { dg-final { scan-assembler-not "nop" } } */ /* { dg-final { scan-assembler-not "rep" } } */ diff --git a/gcc/testsuite/gcc.target/i386/pad-4.c b/gcc/testsuite/gcc.target/i386/pad-4.c index 91bf0dba08e..c742310a34c 100644 --- a/gcc/testsuite/gcc.target/i386/pad-4.c +++ b/gcc/testsuite/gcc.target/i386/pad-4.c @@ -1,6 +1,7 @@ /* { dg-do compile } */ /* { dg-require-effective-target ia32 } */ /* { dg-require-effective-target fpic } */ +/* { dg-skip-if "" { i?86-*-* x86_64-*-* } { "-march=*" } { "-march=atom" } } */ /* { dg-options "-O2 -fomit-frame-pointer -march=atom -fPIC" } */ /* { dg-final { scan-assembler-times "nop" 8 } } */ /* { dg-final { scan-assembler-not "rep" } } */ diff --git a/gcc/testsuite/gcc.target/i386/pad-5a.c b/gcc/testsuite/gcc.target/i386/pad-5a.c index 7aa04dbcf07..3a02262a0af 100644 --- a/gcc/testsuite/gcc.target/i386/pad-5a.c +++ b/gcc/testsuite/gcc.target/i386/pad-5a.c @@ -1,5 +1,6 @@ /* { dg-do compile } */ /* { dg-require-effective-target ia32 } */ +/* { dg-skip-if "" { i?86-*-* x86_64-*-* } { "-march=*" } { "-march=atom" } } */ /* { dg-options "-O2 -fomit-frame-pointer -march=atom" } */ /* { dg-final { scan-assembler-times "nop" 2 } } */ /* { dg-final { scan-assembler-not "rep" } } */ diff --git a/gcc/testsuite/gcc.target/i386/pad-5b.c b/gcc/testsuite/gcc.target/i386/pad-5b.c index e4bb8610f14..a3c9d30c3ac 100644 --- a/gcc/testsuite/gcc.target/i386/pad-5b.c +++ b/gcc/testsuite/gcc.target/i386/pad-5b.c @@ -1,4 +1,5 @@ /* { dg-do compile { target { ! { ia32 } } } } */ +/* { dg-skip-if "" { i?86-*-* x86_64-*-* } { "-march=*" } { "-march=atom" } } */ /* { dg-options "-O2 -fomit-frame-pointer -march=atom" } */ /* { dg-final { scan-assembler-times "nop" 4 } } */ /* { dg-final { scan-assembler-not "rep" } } */ diff --git a/gcc/testsuite/gcc.target/i386/pad-6a.c b/gcc/testsuite/gcc.target/i386/pad-6a.c index 532e38f1d2b..97af9f9ca1b 100644 --- a/gcc/testsuite/gcc.target/i386/pad-6a.c +++ b/gcc/testsuite/gcc.target/i386/pad-6a.c @@ -1,5 +1,6 @@ /* { dg-do compile } */ /* { dg-require-effective-target ia32 } */ +/* { dg-skip-if "" { i?86-*-* x86_64-*-* } { "-march=*" } { "-march=atom" } } */ /* { dg-options "-O2 -fomit-frame-pointer -march=atom" } */ /* { dg-final { scan-assembler-times "nop" 4 } } */ /* { dg-final { scan-assembler-not "rep" } } */ diff --git a/gcc/testsuite/gcc.target/i386/pad-6b.c b/gcc/testsuite/gcc.target/i386/pad-6b.c index 5cb64ff8e6c..e4956f0c1d1 100644 --- a/gcc/testsuite/gcc.target/i386/pad-6b.c +++ b/gcc/testsuite/gcc.target/i386/pad-6b.c @@ -1,4 +1,5 @@ /* { dg-do compile { target { ! { ia32 } } } } */ +/* { dg-skip-if "" { i?86-*-* x86_64-*-* } { "-march=*" } { "-march=atom" } } */ /* { dg-options "-O2 -fomit-frame-pointer -march=atom" } */ /* { dg-final { scan-assembler-times "nop" 6 } } */ /* { dg-final { scan-assembler-not "rep" } } */ diff --git a/gcc/testsuite/gcc.target/i386/pad-7.c b/gcc/testsuite/gcc.target/i386/pad-7.c index 65c18ffa8f9..a4dbd260bea 100644 --- a/gcc/testsuite/gcc.target/i386/pad-7.c +++ b/gcc/testsuite/gcc.target/i386/pad-7.c @@ -1,5 +1,6 @@ /* { dg-do compile } */ /* { dg-require-effective-target ia32 } */ +/* { dg-skip-if "" { i?86-*-* x86_64-*-* } { "-march=*" } { "-march=atom" } } */ /* { dg-options "-O2 -fomit-frame-pointer -march=atom" } */ /* { dg-final { scan-assembler-not "nop" } } */ /* { dg-final { scan-assembler-not "rep" } } */ diff --git a/gcc/testsuite/gcc.target/i386/pad-8.c b/gcc/testsuite/gcc.target/i386/pad-8.c index 0e939fa7890..ebb6e720006 100644 --- a/gcc/testsuite/gcc.target/i386/pad-8.c +++ b/gcc/testsuite/gcc.target/i386/pad-8.c @@ -1,4 +1,5 @@ /* { dg-do compile } */ +/* { dg-skip-if "" { i?86-*-* x86_64-*-* } { "-march=*" } { "-march=atom" } } */ /* { dg-options "-O2 -fomit-frame-pointer -march=atom" } */ /* { dg-final { scan-assembler-times "nop" 6 } } */ /* { dg-final { scan-assembler-not "rep" } } */ diff --git a/gcc/testsuite/gcc.target/i386/pad-9.c b/gcc/testsuite/gcc.target/i386/pad-9.c index dd6d3b3d761..b1a58158a87 100644 --- a/gcc/testsuite/gcc.target/i386/pad-9.c +++ b/gcc/testsuite/gcc.target/i386/pad-9.c @@ -1,4 +1,5 @@ /* { dg-do compile { target { ! { ia32 } } } } */ +/* { dg-skip-if "" { i?86-*-* x86_64-*-* } { "-march=*" } { "-march=atom" } } */ /* { dg-options "-O2 -fomit-frame-pointer -march=atom" } */ /* { dg-final { scan-assembler-times "nop" 4 } } */ /* { dg-final { scan-assembler-not "rep" } } */ diff --git a/gcc/testsuite/gcc.target/i386/vect-double-1.c b/gcc/testsuite/gcc.target/i386/vect-double-1.c index 87e5fe94b25..0b691bcbba6 100644 --- a/gcc/testsuite/gcc.target/i386/vect-double-1.c +++ b/gcc/testsuite/gcc.target/i386/vect-double-1.c @@ -1,4 +1,5 @@ /* { dg-do compile } */ +/* { dg-skip-if "" { i?86-*-* x86_64-*-* } { "-march=*" } { "-march=core2" } } */ /* { dg-options "-O2 -ftree-vectorize -mfpmath=sse -march=core2 -fdump-tree-vect-stats" } */ extern void abort (void);