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

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

Commit Message

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

Add missing dg-require-effective-target nonlocal_goto.

Tested on nvptx.

Committed to trunk.

Thanks,
- Tom

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

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

	* gcc.c-torture/compile/pr89280.c: Require nonlocal_goto.
	* gcc.dg/pr88870.c: Same.
	* gcc.dg/pr90082.c: Same.

---
 gcc/testsuite/gcc.c-torture/compile/pr89280.c | 1 +
 gcc/testsuite/gcc.dg/pr88870.c                | 1 +
 gcc/testsuite/gcc.dg/pr90082.c                | 1 +
 3 files changed, 3 insertions(+)

Patch

diff --git a/gcc/testsuite/gcc.c-torture/compile/pr89280.c b/gcc/testsuite/gcc.c-torture/compile/pr89280.c
index ceb15387522..15b6e7051f8 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 nonlocal_goto }
 // { dg-require-effective-target label_values }
 /* PR tree-optimization/89280 */
 
diff --git a/gcc/testsuite/gcc.dg/pr88870.c b/gcc/testsuite/gcc.dg/pr88870.c
index 3f46f32f3ee..81f686bd972 100644
--- a/gcc/testsuite/gcc.dg/pr88870.c
+++ b/gcc/testsuite/gcc.dg/pr88870.c
@@ -1,5 +1,6 @@ 
 /* PR rtl-optimization/88870 */
 /* { dg-do compile } */
+/* { dg-require-effective-target nonlocal_goto } */
 /* { dg-options "-O1 -fexceptions -fnon-call-exceptions -ftrapv -fno-tree-dominator-opts" } */
 
 int a, b;
diff --git a/gcc/testsuite/gcc.dg/pr90082.c b/gcc/testsuite/gcc.dg/pr90082.c
index af741ff3b4c..a8d76bbc78e 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 nonlocal_goto } */
 /* { dg-require-effective-target label_values } */
 /* { dg-options "-O1 -fnon-call-exceptions -ftrapv" } */