From: Tom de Vries Date: Thu, 20 Jun 2019 10:36:35 +0000 (+0000) Subject: [testsuite] Add missing dg-require-effective-target label_values X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=eb60dc25b1803539b7c502129ae38e35eeaf04a6;p=gcc.git [testsuite] Add missing dg-require-effective-target label_values Add missing dg-require-effective-target label_values. Tested on nvptx. 2019-06-20 Tom de Vries * gcc.c-torture/compile/pr89280.c: Require label_values. * gcc.dg/pr89737.c: Same. * gcc.dg/pr90082.c: Same. * gcc.dg/torture/pr89135.c: Same. * gcc.dg/torture/pr89247.c: Same. * gcc.dg/torture/pr90071.c: Same. From-SVN: r272502 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 5da205ba7a9..82e6994dee2 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,12 @@ +2019-06-20 Tom de Vries + + * gcc.c-torture/compile/pr89280.c: Require label_values. + * gcc.dg/pr89737.c: Same. + * gcc.dg/pr90082.c: Same. + * gcc.dg/torture/pr89135.c: Same. + * gcc.dg/torture/pr89247.c: Same. + * gcc.dg/torture/pr90071.c: Same. + 2019-06-20 Tom de Vries * gcc.c-torture/compile/pr77754-1.c: Require alloca. diff --git a/gcc/testsuite/gcc.c-torture/compile/pr89280.c b/gcc/testsuite/gcc.c-torture/compile/pr89280.c index 9db9965172f..ceb15387522 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 label_values } /* PR tree-optimization/89280 */ int a; diff --git a/gcc/testsuite/gcc.dg/pr89737.c b/gcc/testsuite/gcc.dg/pr89737.c index cd3dc81769e..5f9ecbda08d 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 label_values } */ /* { dg-options "-O2 -fdump-tree-profile_estimate" } */ int a, b; diff --git a/gcc/testsuite/gcc.dg/pr90082.c b/gcc/testsuite/gcc.dg/pr90082.c index 663a171821b..af741ff3b4c 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 label_values } */ /* { dg-options "-O1 -fnon-call-exceptions -ftrapv" } */ void *buf[5]; diff --git a/gcc/testsuite/gcc.dg/torture/pr89135.c b/gcc/testsuite/gcc.dg/torture/pr89135.c index 8a93e8983df..f1c6a5d5473 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 label_values } */ typedef __INTPTR_TYPE__ intptr_t; intptr_t a, b, c, d; diff --git a/gcc/testsuite/gcc.dg/torture/pr89247.c b/gcc/testsuite/gcc.dg/torture/pr89247.c index 558e89e222a..3b60f91d93b 100644 --- a/gcc/testsuite/gcc.dg/torture/pr89247.c +++ b/gcc/testsuite/gcc.dg/torture/pr89247.c @@ -1,4 +1,5 @@ /* { dg-do compile } */ +/* { dg-require-effective-target label_values } */ int *a; void b() diff --git a/gcc/testsuite/gcc.dg/torture/pr90071.c b/gcc/testsuite/gcc.dg/torture/pr90071.c index bfa7239139a..15d27899319 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 label_values } */ int a; static int b;