From: Andy Hutchinson Date: Sun, 4 May 2008 13:10:14 +0000 (+0000) Subject: nested-func-5.c: Skip for target without trampolines. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6121961cb89f75ab76147bd88f3c492d63f3bb20;p=gcc.git nested-func-5.c: Skip for target without trampolines. 2008-05-04 Andy Hutchinson * gcc.dg/nested-func-5.c: Skip for target without trampolines. * gcc.dg/torture/nested-fn-1.c: Ditto. From-SVN: r134931 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index ef2a4be73d8..9bf58a970a5 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2008-05-04 Andy Hutchinson + + * gcc.dg/nested-func-5.c: Skip for target without trampolines. + * gcc.dg/torture/nested-fn-1.c: Ditto. + 2008-05-04 Thomas Koenig PR libfortran/35990 diff --git a/gcc/testsuite/gcc.dg/nested-func-5.c b/gcc/testsuite/gcc.dg/nested-func-5.c index 5076dbd5049..3545f37e5cc 100644 --- a/gcc/testsuite/gcc.dg/nested-func-5.c +++ b/gcc/testsuite/gcc.dg/nested-func-5.c @@ -1,6 +1,7 @@ /* { dg-do compile } */ /* { dg-options "-fexceptions" } */ /* PR28516: ICE generating ARM unwind directives for nested functions. */ +/* { dg-require-effective-target trampolines } */ void ex(int (*)(void)); void foo(int i) diff --git a/gcc/testsuite/gcc.dg/torture/nested-fn-1.c b/gcc/testsuite/gcc.dg/torture/nested-fn-1.c index a396def7eaa..99e852344a9 100644 --- a/gcc/testsuite/gcc.dg/torture/nested-fn-1.c +++ b/gcc/testsuite/gcc.dg/torture/nested-fn-1.c @@ -2,6 +2,7 @@ /* Test whether unused nested functions aren't emitted into the assembly. */ /* { dg-do compile } */ /* { dg-options "-g0" } */ +/* { dg-require-effective-target trampolines } */ int fn1 (int x)