From a72821b44ff2d1da21729954657ade558edc8ba2 Mon Sep 17 00:00:00 2001 From: Tom de Vries Date: Fri, 24 Mar 2017 06:28:53 +0000 Subject: [PATCH] Require effective target indirect_jump in Wimplicit-fallthrough-34.c 2017-03-24 Tom de Vries PR testsuite/80092 * c-c++-common/Wimplicit-fallthrough-34.c: Add dg-require-effective-target indirect_jumps. From-SVN: r246435 --- gcc/testsuite/ChangeLog | 6 ++++++ gcc/testsuite/c-c++-common/Wimplicit-fallthrough-34.c | 1 + 2 files changed, 7 insertions(+) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index ad27d10..1a57128 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,6 +1,12 @@ 2017-03-24 Tom de Vries PR testsuite/80092 + * c-c++-common/Wimplicit-fallthrough-34.c: Add + dg-require-effective-target indirect_jumps. + +2017-03-24 Tom de Vries + + PR testsuite/80092 * gcc.dg/torture/pr79244.c: Add dg-require-effective-target nonlocal_goto. diff --git a/gcc/testsuite/c-c++-common/Wimplicit-fallthrough-34.c b/gcc/testsuite/c-c++-common/Wimplicit-fallthrough-34.c index 9168c52..e0b5350 100644 --- a/gcc/testsuite/c-c++-common/Wimplicit-fallthrough-34.c +++ b/gcc/testsuite/c-c++-common/Wimplicit-fallthrough-34.c @@ -1,5 +1,6 @@ /* PR c/77946 */ /* { dg-do compile } */ +/* { dg-require-effective-target indirect_jumps } */ /* { dg-options "-Wimplicit-fallthrough" } */ void -- 2.7.4