This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[committed] testsuite: add two more label_values annotations
- From: Alexander Monakov <amonakov at ispras dot ru>
- To: gcc-patches at gcc dot gnu dot org
- Date: Mon, 25 Jul 2016 19:27:15 +0300 (MSK)
- Subject: [committed] testsuite: add two more label_values annotations
- Authentication-results: sourceware.org; auth=none
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 --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)