From f75d87ff78ef395c96e27bc6cf297c812205a694 Mon Sep 17 00:00:00 2001 From: Tom de Vries Date: Thu, 20 Jun 2019 10:36:49 +0000 Subject: [PATCH] [testsuite] Add missing dg-require-effective-target indirect_jumps Add missing dg-require-effective-target indirect_jumps. Tested on nvptx. 2019-06-20 Tom de Vries * gcc.dg/pr89737.c: Require indirect_jumps. * gcc.dg/torture/pr87693.c: Same. * gcc.dg/torture/pr89135.c: Same. * gcc.dg/torture/pr90071.c: Same. From-SVN: r272503 --- gcc/testsuite/ChangeLog | 7 +++++++ gcc/testsuite/gcc.dg/pr89737.c | 1 + gcc/testsuite/gcc.dg/torture/pr87693.c | 1 + gcc/testsuite/gcc.dg/torture/pr89135.c | 1 + gcc/testsuite/gcc.dg/torture/pr90071.c | 1 + 5 files changed, 11 insertions(+) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 82e6994dee2..4855bb9a2ff 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,10 @@ +2019-06-20 Tom de Vries + + * gcc.dg/pr89737.c: Require indirect_jumps. + * gcc.dg/torture/pr87693.c: Same. + * gcc.dg/torture/pr89135.c: Same. + * gcc.dg/torture/pr90071.c: Same. + 2019-06-20 Tom de Vries * gcc.c-torture/compile/pr89280.c: Require label_values. diff --git a/gcc/testsuite/gcc.dg/pr89737.c b/gcc/testsuite/gcc.dg/pr89737.c index 5f9ecbda08d..7dc48cdce98 100644 --- a/gcc/testsuite/gcc.dg/pr89737.c +++ b/gcc/testsuite/gcc.dg/pr89737.c @@ -1,4 +1,5 @@ /* { dg-do compile } */ +/* { dg-require-effective-target indirect_jumps } */ /* { dg-require-effective-target label_values } */ /* { dg-options "-O2 -fdump-tree-profile_estimate" } */ diff --git a/gcc/testsuite/gcc.dg/torture/pr87693.c b/gcc/testsuite/gcc.dg/torture/pr87693.c index 802560dd347..b4ff59421c1 100644 --- a/gcc/testsuite/gcc.dg/torture/pr87693.c +++ b/gcc/testsuite/gcc.dg/torture/pr87693.c @@ -1,4 +1,5 @@ /* { dg-do compile } */ +/* { dg-require-effective-target indirect_jumps } */ void f (void); void g (void); diff --git a/gcc/testsuite/gcc.dg/torture/pr89135.c b/gcc/testsuite/gcc.dg/torture/pr89135.c index f1c6a5d5473..278303f98a6 100644 --- a/gcc/testsuite/gcc.dg/torture/pr89135.c +++ b/gcc/testsuite/gcc.dg/torture/pr89135.c @@ -1,4 +1,5 @@ /* { dg-do compile } */ +/* { dg-require-effective-target indirect_jumps } */ /* { dg-require-effective-target label_values } */ typedef __INTPTR_TYPE__ intptr_t; diff --git a/gcc/testsuite/gcc.dg/torture/pr90071.c b/gcc/testsuite/gcc.dg/torture/pr90071.c index 15d27899319..702c143170e 100644 --- a/gcc/testsuite/gcc.dg/torture/pr90071.c +++ b/gcc/testsuite/gcc.dg/torture/pr90071.c @@ -1,4 +1,5 @@ /* { dg-do compile } */ +/* { dg-require-effective-target indirect_jumps } */ /* { dg-require-effective-target label_values } */ int a; -- 2.30.2