From: Uros Bizjak Date: Sun, 8 Aug 2010 12:09:46 +0000 (+0200) Subject: march.c: Skip if -march defined. X-Git-Tag: releases/gcc-4.6.0~5176 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=07f93cbdd551f6e893a9f22296fb50e3e37edbf1;p=thirdparty%2Fgcc.git 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 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 18f42a43fbf5..052b8bb42347 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,11 @@ +2010-08-08 Uros Bizjak + + * 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 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 de47b5c27115..f0c1187b01ec 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 f0a08526ec10..605068dbca07 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 a33e042a9791..992cb09ff010 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 } */