This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[committed] testsuite: add two more label_values annotations


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)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]