aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorUros Bizjak <ubizjak@gmail.com>2010-08-08 14:09:46 +0200
committerUros Bizjak <uros@gcc.gnu.org>2010-08-08 14:09:46 +0200
commit07f93cbdd551f6e893a9f22296fb50e3e37edbf1 (patch)
tree45a4a09635cd288a31ce68301148656d0e05f589 /gcc
parent77fd1c1d447a899e176c92150ba84a72c29ecc52 (diff)
downloadgcc-07f93cbdd551f6e893a9f22296fb50e3e37edbf1.zip
gcc-07f93cbdd551f6e893a9f22296fb50e3e37edbf1.tar.gz
gcc-07f93cbdd551f6e893a9f22296fb50e3e37edbf1.tar.bz2
march.c: Skip if -march defined.
* gcc.dg/march.c: Skip if -march defined. * gcc.dg/mtune.c: Skip if -mtune defined. * g++.old-deja/g++.jason/thunk3.C: Skip for targets with generic thunk support. From-SVN: r162998
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/ChangeLog8
-rw-r--r--gcc/testsuite/g++.old-deja/g++.jason/thunk3.C3
-rw-r--r--gcc/testsuite/gcc.dg/march.c1
-rw-r--r--gcc/testsuite/gcc.dg/mtune.c1
4 files changed, 12 insertions, 1 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 18f42a4..052b8bb 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,11 @@
+2010-08-08 Uros Bizjak <ubizjak@gmail.com>
+
+ * gcc.dg/march.c: Skip if -march defined.
+ * gcc.dg/mtune.c: Skip if -mtune defined.
+
+ * g++.old-deja/g++.jason/thunk3.C: Skip for targets with
+ generic thunk support.
+
2010-08-07 Uros Bizjak <ubizjak@gmail.com>
PR target/45213
diff --git a/gcc/testsuite/g++.old-deja/g++.jason/thunk3.C b/gcc/testsuite/g++.old-deja/g++.jason/thunk3.C
index de47b5c..f0c1187 100644
--- a/gcc/testsuite/g++.old-deja/g++.jason/thunk3.C
+++ b/gcc/testsuite/g++.old-deja/g++.jason/thunk3.C
@@ -1,4 +1,5 @@
-// { dg-do run { xfail rs6000-*-* powerpc-*-eabi v850-*-* sh-*-* sh64-*-* h8*-*-* xtensa*-*-* m32r*-*-* lm32-*-* } }
+// { dg-do run }
+// { dg-skip-if "fails with generic thunk support" { rs6000-*-* powerpc-*-eabi v850-*-* sh-*-* sh64-*-* h8*-*-* xtensa*-*-* m32r*-*-* lm32-*-* } { "*" } { "" } }
// Test that variadic function calls using thunks work right.
// Note that this will break on any target that uses the generic thunk
// support, because it doesn't support variadic functions.
diff --git a/gcc/testsuite/gcc.dg/march.c b/gcc/testsuite/gcc.dg/march.c
index f0a0852..605068d 100644
--- a/gcc/testsuite/gcc.dg/march.c
+++ b/gcc/testsuite/gcc.dg/march.c
@@ -1,4 +1,5 @@
/* { dg-do compile } */
+/* { dg-skip-if "" { *-*-* } { "-march=*" } { "" } } */
/* { dg-options "-march=foo" } */
/* { dg-error "march" "" { target *-*-* } 0 } */
/* { dg-bogus "mtune" "" { target *-*-* } 0 } */
diff --git a/gcc/testsuite/gcc.dg/mtune.c b/gcc/testsuite/gcc.dg/mtune.c
index a33e042..992cb09 100644
--- a/gcc/testsuite/gcc.dg/mtune.c
+++ b/gcc/testsuite/gcc.dg/mtune.c
@@ -1,4 +1,5 @@
/* { dg-do compile } */
+/* { dg-skip-if "" { *-*-* } { "-mtune=*" } { "" } } */
/* { dg-options "-mtune=foo" } */
/* { dg-error "mtune" "" { target *-*-* } 0 } */
/* { dg-bogus "march" "" { target *-*-* } 0 } */