This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[Patch] Disable yet more trampoline tests for targets without trampolines
- From: Andrew Hutchinson <andrewhutchinson at cox dot net>
- To: janis187 at us dot ibm dot com, gcc-patches at gcc dot gnu dot org
- Date: Sun, 11 May 2008 23:13:32 -0400
- Subject: [Patch] Disable yet more trampoline tests for targets without trampolines
I found another 5 more tests that need trampolines (for address of
nested functions), that are not disabled for targets without
trampolines. This patch adds
dg-require-effective-target trampolines*
*(Hopefully I have found all of these cases now)
Could this please be approved to commit to 4.4 HEAD?
best regards
2008-04-27 Andy Hutchinson <hutchinsonandy@aim.com>
* gcc.dg/pr34457-1.c.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.
Index: gcc/testsuite/gcc.dg/20050607-1.c
===================================================================
--- gcc/testsuite/gcc.dg/20050607-1.c (revision 135174)
+++ gcc/testsuite/gcc.dg/20050607-1.c (working copy)
@@ -1,3 +1,4 @@
+/* { dg-require-effective-target trampolines } */
/* { dg-do compile } */
/* { dg-options "-Wpadded" }
/* The struct internally constructed for the nested function should
Index: gcc/testsuite/gcc.dg/debug/debug-3.c
===================================================================
--- gcc/testsuite/gcc.dg/debug/debug-3.c (revision 135174)
+++ gcc/testsuite/gcc.dg/debug/debug-3.c (working copy)
@@ -1,5 +1,6 @@
/* This testcase failed, because scope containing baz was deleted
(spanned 0 basic blocks) and DWARF-2 couldn't find baz origin. */
+/* { dg-require-effective-target trampolines } */
/* { dg-do compile } */
struct A { char *a, *b, *c, *d; };
Index: gcc/testsuite/gcc.dg/debug/debug-5.c
===================================================================
--- gcc/testsuite/gcc.dg/debug/debug-5.c (revision 135174)
+++ gcc/testsuite/gcc.dg/debug/debug-5.c (working copy)
@@ -1,5 +1,6 @@
/* This testcase failed, because scope containing baz was deleted
(spanned 0 basic blocks) and DWARF-2 couldn't find baz origin. */
+/* { dg-require-effective-target trampolines } */
/* { dg-do compile } */
extern void abort (void);
Index: gcc/testsuite/gcc.dg/pr34457-1.c
===================================================================
--- gcc/testsuite/gcc.dg/pr34457-1.c (revision 135174)
+++ gcc/testsuite/gcc.dg/pr34457-1.c (working copy)
@@ -1,4 +1,5 @@
/* PR c/34457 */
+/* { dg-require-effective-target trampolines } */
/* { dg-do compile } */
/* { dg-options "--combine -O2" } */
/* { dg-additional-sources "pr34457-2.c" } */
Index: gcc/testsuite/gcc.dg/trampoline-1.c
===================================================================
--- gcc/testsuite/gcc.dg/trampoline-1.c (revision 135174)
+++ gcc/testsuite/gcc.dg/trampoline-1.c (working copy)
@@ -1,6 +1,7 @@
/* PR target/12865 */
/* Origin: Waldek Hebisch <hebisch@math.uni.wroc.pl> */
+/* { dg-require-effective-target trampolines } */
/* { dg-do run } */
/* { dg-options "-O2" } */