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

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

Commit Message

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

Add missing dg-require-effective-target indirect_jumps.

Tested on nvptx.

Committed to trunk.

Thanks,
- Tom

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

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

	* gcc.dg/pr89737.c: Require indirect_jumps.
	* gcc.dg/torture/pr87693.c: Same.
	* gcc.dg/torture/pr89135.c: Same.
	* gcc.dg/torture/pr90071.c: Same.

---
 gcc/testsuite/gcc.dg/pr89737.c         | 1 +
 gcc/testsuite/gcc.dg/torture/pr87693.c | 1 +
 gcc/testsuite/gcc.dg/torture/pr89135.c | 1 +
 gcc/testsuite/gcc.dg/torture/pr90071.c | 1 +
 4 files changed, 4 insertions(+)

Patch

diff --git a/gcc/testsuite/gcc.dg/pr89737.c b/gcc/testsuite/gcc.dg/pr89737.c
index 5f9ecbda08d..7dc48cdce98 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 indirect_jumps } */
 /* { dg-require-effective-target label_values } */
 /* { dg-options "-O2 -fdump-tree-profile_estimate" } */
 
diff --git a/gcc/testsuite/gcc.dg/torture/pr87693.c b/gcc/testsuite/gcc.dg/torture/pr87693.c
index 802560dd347..b4ff59421c1 100644
--- a/gcc/testsuite/gcc.dg/torture/pr87693.c
+++ b/gcc/testsuite/gcc.dg/torture/pr87693.c
@@ -1,4 +1,5 @@ 
 /* { dg-do compile } */
+/* { dg-require-effective-target indirect_jumps } */
 
 void f (void);
 void g (void);
diff --git a/gcc/testsuite/gcc.dg/torture/pr89135.c b/gcc/testsuite/gcc.dg/torture/pr89135.c
index f1c6a5d5473..278303f98a6 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 indirect_jumps } */
 /* { dg-require-effective-target label_values } */
 
 typedef __INTPTR_TYPE__ intptr_t;
diff --git a/gcc/testsuite/gcc.dg/torture/pr90071.c b/gcc/testsuite/gcc.dg/torture/pr90071.c
index 15d27899319..702c143170e 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 indirect_jumps } */
 /* { dg-require-effective-target label_values } */
 
 int a;