diff mbox

[ptx] annotate 2 tests

Message ID 5672C53B.3010209@acm.org
State New
Headers show

Commit Message

Nathan Sidwell Dec. 17, 2015, 2:22 p.m. UTC
These two tests require label values,  annotated thusly.

nathan
diff mbox

Patch

2015-12-17  Nathan Sidwell  <nathan@acm.org>

	* c-c++-common/Wunused-var-13.c: Requires label values.
	* gcc.dg/torture/pr46216.c: Likewise.

Index: c-c++-common/Wunused-var-13.c
===================================================================
--- c-c++-common/Wunused-var-13.c	(revision 231757)
+++ c-c++-common/Wunused-var-13.c	(working copy)
@@ -1,6 +1,7 @@ 
 /* PR c/46015 */
 /* { dg-options "-Wunused" } */
 /* { dg-do compile } */
+/* { dg-require-effective-target label_values } */
 
 int
 f1 (int i)
Index: gcc.dg/torture/pr46216.c
===================================================================
--- gcc.dg/torture/pr46216.c	(revision 231757)
+++ gcc.dg/torture/pr46216.c	(working copy)
@@ -1,4 +1,5 @@ 
 /* { dg-do compile } */
+/* { dg-require-effective-target label_values } */
 
 typedef int Embryo_Cell;
 int