[testsuite] Add missing dg-require-effective-target nonlocal_goto
authorTom de Vries <tdevries@suse.de>
Thu, 20 Jun 2019 10:37:05 +0000 (10:37 +0000)
committerTom de Vries <vries@gcc.gnu.org>
Thu, 20 Jun 2019 10:37:05 +0000 (10:37 +0000)
Add missing dg-require-effective-target nonlocal_goto.

Tested on nvptx.

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.

From-SVN: r272504

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/compile/pr89280.c
gcc/testsuite/gcc.dg/pr88870.c
gcc/testsuite/gcc.dg/pr90082.c

index 4855bb9a2ff09d7d9230b2011df6eb30a81e9052..afab8242d1eca1e20ceb06fb8f27454a33559ea7 100644 (file)
@@ -1,3 +1,9 @@
+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.
+
 2019-06-20  Tom de Vries  <tdevries@suse.de>
 
        * gcc.dg/pr89737.c: Require indirect_jumps.
index ceb153875225813b340abf20c3fc0f44c5381d7a..15b6e7051f8f0bb1ca58dcc7738a6fc16b1ae828 100644 (file)
@@ -1,3 +1,4 @@
+// { dg-require-effective-target nonlocal_goto }
 // { dg-require-effective-target label_values }
 /* PR tree-optimization/89280 */
 
index 3f46f32f3ee9dd6d9f99764cc091f785e13e9155..81f686bd972cd9b9b3f2c815eef3206f58170160 100644 (file)
@@ -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;
index af741ff3b4c7c8a85fcafcd23c323ca11ffbabb3..a8d76bbc78e642ec2726b1a8d3a4e3b385aea862 100644 (file)
@@ -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" } */