From 597654af481fcb5956fd45edad9448b0164a22ff Mon Sep 17 00:00:00 2001 From: Andy Hutchinson Date: Mon, 12 May 2008 21:52:38 +0000 Subject: [PATCH] pr34457-1.c: Skip for target without trampolines. * gcc.dg/pr34457-1.c: Skip for target without trampolines. * gcc.dg/20050607-1.c: Ditto. * gcc.dg/trampoline-1.c: Ditto. * gcc.dg/debug/debug-3.c: Ditto. * gcc.dg/debug/debug-5.c: Ditto. From-SVN: r135235 --- gcc/testsuite/ChangeLog | 8 ++++++++ gcc/testsuite/gcc.dg/20050607-1.c | 1 + gcc/testsuite/gcc.dg/debug/debug-3.c | 1 + gcc/testsuite/gcc.dg/debug/debug-5.c | 1 + gcc/testsuite/gcc.dg/pr34457-1.c | 1 + gcc/testsuite/gcc.dg/trampoline-1.c | 1 + 6 files changed, 13 insertions(+) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index b9de6a88adb..ec629324582 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,11 @@ +2008-05-12 Andy Hutchinson + + * gcc.dg/pr34457-1.c: Skip for target without trampolines. + * gcc.dg/20050607-1.c: Ditto. + * gcc.dg/trampoline-1.c: Ditto. + * gcc.dg/debug/debug-3.c: Ditto. + * gcc.dg/debug/debug-5.c: Ditto. + 2008-05-12 Samuel Tardieu * gnat.dg/specs/statically_matching.ads: New. diff --git a/gcc/testsuite/gcc.dg/20050607-1.c b/gcc/testsuite/gcc.dg/20050607-1.c index 18cbf45919c..83c09674804 100644 --- a/gcc/testsuite/gcc.dg/20050607-1.c +++ b/gcc/testsuite/gcc.dg/20050607-1.c @@ -1,4 +1,5 @@ /* { dg-do compile } */ +/* { dg-require-effective-target trampolines } */ /* { dg-options "-Wpadded" } /* The struct internally constructed for the nested function should not result in a warning from -Wpadded. */ diff --git a/gcc/testsuite/gcc.dg/debug/debug-3.c b/gcc/testsuite/gcc.dg/debug/debug-3.c index bb819f4f022..e2b7a4b1803 100644 --- a/gcc/testsuite/gcc.dg/debug/debug-3.c +++ b/gcc/testsuite/gcc.dg/debug/debug-3.c @@ -1,6 +1,7 @@ /* This testcase failed, because scope containing baz was deleted (spanned 0 basic blocks) and DWARF-2 couldn't find baz origin. */ /* { dg-do compile } */ +/* { dg-require-effective-target trampolines } */ struct A { char *a, *b, *c, *d; }; diff --git a/gcc/testsuite/gcc.dg/debug/debug-5.c b/gcc/testsuite/gcc.dg/debug/debug-5.c index 8f26fc47b8b..f66b861c84f 100644 --- a/gcc/testsuite/gcc.dg/debug/debug-5.c +++ b/gcc/testsuite/gcc.dg/debug/debug-5.c @@ -1,6 +1,7 @@ /* This testcase failed, because scope containing baz was deleted (spanned 0 basic blocks) and DWARF-2 couldn't find baz origin. */ /* { dg-do compile } */ +/* { dg-require-effective-target trampolines } */ extern void abort (void); diff --git a/gcc/testsuite/gcc.dg/pr34457-1.c b/gcc/testsuite/gcc.dg/pr34457-1.c index 7a1efed54d9..ccd937c6b52 100644 --- a/gcc/testsuite/gcc.dg/pr34457-1.c +++ b/gcc/testsuite/gcc.dg/pr34457-1.c @@ -1,5 +1,6 @@ /* PR c/34457 */ /* { dg-do compile } */ +/* { dg-require-effective-target trampolines } */ /* { dg-options "--combine -O2" } */ /* { dg-additional-sources "pr34457-2.c" } */ diff --git a/gcc/testsuite/gcc.dg/trampoline-1.c b/gcc/testsuite/gcc.dg/trampoline-1.c index 88078621066..e3dcf573a94 100644 --- a/gcc/testsuite/gcc.dg/trampoline-1.c +++ b/gcc/testsuite/gcc.dg/trampoline-1.c @@ -2,6 +2,7 @@ /* Origin: Waldek Hebisch */ /* { dg-do run } */ +/* { dg-require-effective-target trampolines } */ /* { dg-options "-O2" } */ /* This used to fail on various versions of Solaris 2 because the -- 2.30.2