diff options
author | Tom de Vries <tom@codesourcery.com> | 2017-03-24 06:28:53 +0000 |
---|---|---|
committer | Tom de Vries <tom@codesourcery.com> | 2017-03-24 06:28:53 +0000 |
commit | 86ccfab291e75bb60c9a28c501a5d128a850a8c1 (patch) | |
tree | 1c52686ee2549e75672da3d4e4c925ca5d21e8f0 | |
parent | eae7a2a77a78b4d2832c99888456625d59f46f8c (diff) |
Require effective target indirect_jump in Wimplicit-fallthrough-34.c
2017-03-24 Tom de Vries <tom@codesourcery.com>
PR testsuite/80092
* c-c++-common/Wimplicit-fallthrough-34.c: Add
dg-require-effective-target indirect_jumps.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@246435 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r-- | gcc/testsuite/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/testsuite/c-c++-common/Wimplicit-fallthrough-34.c | 1 |
2 files changed, 7 insertions, 0 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index ad27d10234f..1a57128c345 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,6 +1,12 @@ 2017-03-24 Tom de Vries <tom@codesourcery.com> PR testsuite/80092 + * c-c++-common/Wimplicit-fallthrough-34.c: Add + dg-require-effective-target indirect_jumps. + +2017-03-24 Tom de Vries <tom@codesourcery.com> + + 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 9168c5225f0..e0b5350f2e6 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 |