[committed,testsuite] Add missing dg-require-effective-target label_values

Message ID 20190620103908.GA10888@delia
State New
Headers show
Series
  • [committed,testsuite] Add missing dg-require-effective-target label_values
Related show

Commit Message

Tom de Vries June 20, 2019, 10:39 a.m.
Hi,

Add missing dg-require-effective-target label_values.

Tested on nvptx.

Committed to trunk.

Thanks,
- Tom

[testsuite] Add missing dg-require-effective-target label_values

2019-06-20  Tom de Vries  <tdevries@suse.de>

	* gcc.c-torture/compile/pr89280.c: Require label_values.
	* gcc.dg/pr89737.c: Same.
	* gcc.dg/pr90082.c: Same.
	* gcc.dg/torture/pr89135.c: Same.
	* gcc.dg/torture/pr89247.c: Same.
	* gcc.dg/torture/pr90071.c: Same.

---
 gcc/testsuite/gcc.c-torture/compile/pr89280.c | 1 +
 gcc/testsuite/gcc.dg/pr89737.c                | 1 +
 gcc/testsuite/gcc.dg/pr90082.c                | 1 +
 gcc/testsuite/gcc.dg/torture/pr89135.c        | 1 +
 gcc/testsuite/gcc.dg/torture/pr89247.c        | 1 +
 gcc/testsuite/gcc.dg/torture/pr90071.c        | 1 +
 6 files changed, 6 insertions(+)

Patch

diff --git a/gcc/testsuite/gcc.c-torture/compile/pr89280.c b/gcc/testsuite/gcc.c-torture/compile/pr89280.c
index 9db9965172f..ceb15387522 100644
--- a/gcc/testsuite/gcc.c-torture/compile/pr89280.c
+++ b/gcc/testsuite/gcc.c-torture/compile/pr89280.c
@@ -1,3 +1,4 @@ 
+// { dg-require-effective-target label_values }
 /* PR tree-optimization/89280 */
 
 int a;
diff --git a/gcc/testsuite/gcc.dg/pr89737.c b/gcc/testsuite/gcc.dg/pr89737.c
index cd3dc81769e..5f9ecbda08d 100644
--- a/gcc/testsuite/gcc.dg/pr89737.c
+++ b/gcc/testsuite/gcc.dg/pr89737.c
@@ -1,4 +1,5 @@ 
 /* { dg-do compile } */
+/* { dg-require-effective-target label_values } */
 /* { dg-options "-O2 -fdump-tree-profile_estimate" } */
 
 int a, b;
diff --git a/gcc/testsuite/gcc.dg/pr90082.c b/gcc/testsuite/gcc.dg/pr90082.c
index 663a171821b..af741ff3b4c 100644
--- a/gcc/testsuite/gcc.dg/pr90082.c
+++ b/gcc/testsuite/gcc.dg/pr90082.c
@@ -1,5 +1,6 @@ 
 /* PR rtl-optimization/90082 */
 /* { dg-do compile } */
+/* { dg-require-effective-target label_values } */
 /* { dg-options "-O1 -fnon-call-exceptions -ftrapv" } */
 
 void *buf[5];
diff --git a/gcc/testsuite/gcc.dg/torture/pr89135.c b/gcc/testsuite/gcc.dg/torture/pr89135.c
index 8a93e8983df..f1c6a5d5473 100644
--- a/gcc/testsuite/gcc.dg/torture/pr89135.c
+++ b/gcc/testsuite/gcc.dg/torture/pr89135.c
@@ -1,4 +1,5 @@ 
 /* { dg-do compile } */
+/* { dg-require-effective-target label_values } */
 
 typedef __INTPTR_TYPE__ intptr_t;
 intptr_t a, b, c, d;
diff --git a/gcc/testsuite/gcc.dg/torture/pr89247.c b/gcc/testsuite/gcc.dg/torture/pr89247.c
index 558e89e222a..3b60f91d93b 100644
--- a/gcc/testsuite/gcc.dg/torture/pr89247.c
+++ b/gcc/testsuite/gcc.dg/torture/pr89247.c
@@ -1,4 +1,5 @@ 
 /* { dg-do compile } */
+/* { dg-require-effective-target label_values } */
 
 int *a;
 void b()
diff --git a/gcc/testsuite/gcc.dg/torture/pr90071.c b/gcc/testsuite/gcc.dg/torture/pr90071.c
index bfa7239139a..15d27899319 100644
--- a/gcc/testsuite/gcc.dg/torture/pr90071.c
+++ b/gcc/testsuite/gcc.dg/torture/pr90071.c
@@ -1,4 +1,5 @@ 
 /* { dg-do compile } */
+/* { dg-require-effective-target label_values } */
 
 int a;
 static int b;