From: Tom de Vries Date: Thu, 20 Jun 2019 10:37:05 +0000 (+0000) Subject: [testsuite] Add missing dg-require-effective-target nonlocal_goto X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ebbab6f82c5cab0da10284bd94c56599e0348e65;p=gcc.git [testsuite] Add missing dg-require-effective-target nonlocal_goto Add missing dg-require-effective-target nonlocal_goto. Tested on nvptx. 2019-06-20 Tom de Vries * gcc.c-torture/compile/pr89280.c: Require nonlocal_goto. * gcc.dg/pr88870.c: Same. * gcc.dg/pr90082.c: Same. From-SVN: r272504 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 4855bb9a2ff..afab8242d1e 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2019-06-20 Tom de Vries + + * 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 * gcc.dg/pr89737.c: Require indirect_jumps. 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" } */