diff mbox

[committed] testsuite: add two more label_values annotations

Message ID alpine.LNX.2.20.13.1607251916280.19688@monopod.intra.ispras.ru
State New
Headers show

Commit Message

Alexander Monakov July 25, 2016, 4:27 p.m. UTC
Hi,

I've applied the following patch as obvious to mark two more tests as taking
addresses of labels (this cannot work on nvptx).  The issue on pr16973.c was
uncovered in the fallout of my (now reverted) toplevel-reorder patch; the other
test, pr71494.c, fails regardless of that.

2016-07-25  Alexander Monakov  <amonakov@ispras.ru>

        * gcc.c-torture/execute/pr71494.c: Require label_values.
        * gcc.dg/pr16973.c: Ditto.
diff mbox

Patch

diff --git a/gcc/testsuite/gcc.c-torture/execute/pr71494.c b/gcc/testsuite/gcc.c-torture/execute/pr71494.c
index f962f2c..cee407d 100644
--- a/gcc/testsuite/gcc.c-torture/execute/pr71494.c
+++ b/gcc/testsuite/gcc.c-torture/execute/pr71494.c
@@ -1,4 +1,5 @@ 
 /* PR middle-end/71494 */
+/* { dg-require-effective-target label_values } */

 int
 main ()
diff --git a/gcc/testsuite/gcc.dg/pr16973.c b/gcc/testsuite/gcc.dg/pr16973.c
index e24c9f8..83274a1 100644
--- a/gcc/testsuite/gcc.dg/pr16973.c
+++ b/gcc/testsuite/gcc.dg/pr16973.c
@@ -3,6 +3,7 @@ 
    to add back the label.   */

 /* { dg-options "" } */
+/* { dg-require-effective-target label_values } */

 void
 f (void)