From da7c9950d5a6a2106fc73f5e2056687f48f4dd5f Mon Sep 17 00:00:00 2001 From: Nathan Sidwell Date: Tue, 10 May 2016 13:05:57 +0000 Subject: [PATCH] nested-func-10.c: Requires alloca. * gcc.dg/nested-func-10.c: Requires alloca. * gcc.dg/nested-func-9.c: Requires alloca. * gcc.c-torture/execute/pr70460.c: Requires labels. * gcc.c-torture/compile/pr70199.c: Requires labels. * gcc.target/nvptx/decl.c: Compile only. * gcc.target/nvptx/trailing-init.c: Compile only. * gcc.target/nvptx/ary-init.c: Compile only. From-SVN: r236077 --- gcc/testsuite/ChangeLog | 10 ++++++++++ gcc/testsuite/gcc.c-torture/compile/pr70199.c | 3 +++ gcc/testsuite/gcc.c-torture/execute/pr70460.c | 3 +++ gcc/testsuite/gcc.dg/nested-func-10.c | 1 + gcc/testsuite/gcc.dg/nested-func-9.c | 1 + gcc/testsuite/gcc.target/nvptx/ary-init.c | 2 ++ gcc/testsuite/gcc.target/nvptx/decl.c | 1 + gcc/testsuite/gcc.target/nvptx/trailing-init.c | 1 + 8 files changed, 22 insertions(+) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 4f3cc5dca70..c4367b8b609 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,13 @@ +2016-05-10 Nathan Sidwell + + * gcc.dg/nested-func-10.c: Requires alloca. + * gcc.dg/nested-func-9.c: Requires alloca. + * gcc.c-torture/execute/pr70460.c: Requires labels. + * gcc.c-torture/compile/pr70199.c: Requires labels. + * gcc.target/nvptx/decl.c: Compile only. + * gcc.target/nvptx/trailing-init.c: Compile only. + * gcc.target/nvptx/ary-init.c: Compile only. + 2016-05-10 Marek Polacek PR c/70255 diff --git a/gcc/testsuite/gcc.c-torture/compile/pr70199.c b/gcc/testsuite/gcc.c-torture/compile/pr70199.c index a4323f09f23..03eab4f44d7 100644 --- a/gcc/testsuite/gcc.c-torture/compile/pr70199.c +++ b/gcc/testsuite/gcc.c-torture/compile/pr70199.c @@ -1,3 +1,6 @@ +/* { dg-require-effective-target indirect_jumps } */ +/* { dg-require-effective-target label_values } */ + static volatile int v = 0; static void benchmark(long runs) { diff --git a/gcc/testsuite/gcc.c-torture/execute/pr70460.c b/gcc/testsuite/gcc.c-torture/execute/pr70460.c index bfecea0932e..acc57511ae2 100644 --- a/gcc/testsuite/gcc.c-torture/execute/pr70460.c +++ b/gcc/testsuite/gcc.c-torture/execute/pr70460.c @@ -1,3 +1,6 @@ +/* { dg-require-effective-target indirect_jumps } */ +/* { dg-require-effective-target label_values } */ + /* PR rtl-optimization/70460 */ int c; diff --git a/gcc/testsuite/gcc.dg/nested-func-10.c b/gcc/testsuite/gcc.dg/nested-func-10.c index ac6f76fbbe7..e017fba871e 100644 --- a/gcc/testsuite/gcc.dg/nested-func-10.c +++ b/gcc/testsuite/gcc.dg/nested-func-10.c @@ -1,6 +1,7 @@ /* PR c/70093 */ /* { dg-do compile } */ /* { dg-options "" } */ +/* { dg-require-effective-target alloca } */ void __attribute__((noinline, noclone)) foo (int n) diff --git a/gcc/testsuite/gcc.dg/nested-func-9.c b/gcc/testsuite/gcc.dg/nested-func-9.c index 902c2585393..633ab6993d0 100644 --- a/gcc/testsuite/gcc.dg/nested-func-9.c +++ b/gcc/testsuite/gcc.dg/nested-func-9.c @@ -1,6 +1,7 @@ /* PR c/70093 */ /* { dg-do run } */ /* { dg-options "" } */ +/* { dg-require-effective-target alloca } */ void foo (int n) diff --git a/gcc/testsuite/gcc.target/nvptx/ary-init.c b/gcc/testsuite/gcc.target/nvptx/ary-init.c index 93235fd30a2..71bcb7b0a03 100644 --- a/gcc/testsuite/gcc.target/nvptx/ary-init.c +++ b/gcc/testsuite/gcc.target/nvptx/ary-init.c @@ -1,3 +1,5 @@ +/* { dg-do compile } */ + /* { dg-additional-options "-Wno-long-long" } */ char ca1[2] = {'a', 'b'}; diff --git a/gcc/testsuite/gcc.target/nvptx/decl.c b/gcc/testsuite/gcc.target/nvptx/decl.c index 094cdb03fe0..190a64d5679 100644 --- a/gcc/testsuite/gcc.target/nvptx/decl.c +++ b/gcc/testsuite/gcc.target/nvptx/decl.c @@ -1,3 +1,4 @@ +/* { dg-do compile } */ static const int __attribute__ ((used)) cst_local = 4; static int __attribute__ ((used)) glob_local = 5; diff --git a/gcc/testsuite/gcc.target/nvptx/trailing-init.c b/gcc/testsuite/gcc.target/nvptx/trailing-init.c index 3fa916d0ac2..470ac0059d3 100644 --- a/gcc/testsuite/gcc.target/nvptx/trailing-init.c +++ b/gcc/testsuite/gcc.target/nvptx/trailing-init.c @@ -1,3 +1,4 @@ +/* { dg-do compile } */ /* { dg-additional-options "-Wno-pedantic" } */ struct trailing -- 2.30.2