2016-05-10 Nathan Sidwell <nathan@acm.org>
* 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.
===================================================================
@@ -1,6 +1,7 @@
/* PR c/70093 */
/* { dg-do compile } */
/* { dg-options "" } */
+/* { dg-require-effective-target alloca } */
void __attribute__((noinline, noclone))
foo (int n)
===================================================================
@@ -1,6 +1,7 @@
/* PR c/70093 */
/* { dg-do run } */
/* { dg-options "" } */
+/* { dg-require-effective-target alloca } */
void
foo (int n)
===================================================================
@@ -1,3 +1,6 @@
+/* { dg-require-effective-target indirect_jumps } */
+/* { dg-require-effective-target label_values } */
+
/* PR rtl-optimization/70460 */
int 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) {
===================================================================
@@ -1,3 +1,4 @@
+/* { dg-do compile } */
static const int __attribute__ ((used)) cst_local = 4;
static int __attribute__ ((used)) glob_local = 5;
===================================================================
@@ -1,3 +1,4 @@
+/* { dg-do compile } */
/* { dg-additional-options "-Wno-pedantic" } */
struct trailing
===================================================================
@@ -1,3 +1,5 @@
+/* { dg-do compile } */
+
/* { dg-additional-options "-Wno-long-long" } */
char ca1[2] = {'a', 'b'};