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]

[testsuite, committed] Require label_values for some test-cases


Hi,

this patch adds dg-require-effective-target label_values for some test-cases.

Committed as obvious.

Thanks,
- Tom
Require label_values for some test-cases

2017-06-01  Tom de Vries  <tom@codesourcery.com>

	* c-c++-common/pr43395.c: Add dg-require-effective-target label_values.
	* gcc.c-torture/compile/asmgoto-1.c: Same.
	* gcc.dg/20000707-1.c: Same.
	* gcc.dg/pr38700.c: Same.
	* gcc.dg/pr70169.c: Same.
	* gcc.dg/pr80112.c: Same.
	* gcc.dg/torture/pr51071-2.c: Same.
	* gcc.dg/torture/pr51071.c: Same.
	* gcc.dg/tree-ssa/alias-34.c: Same.

---
 gcc/testsuite/c-c++-common/pr43395.c            | 1 +
 gcc/testsuite/gcc.c-torture/compile/asmgoto-1.c | 2 ++
 gcc/testsuite/gcc.dg/20000707-1.c               | 1 +
 gcc/testsuite/gcc.dg/pr38700.c                  | 1 +
 gcc/testsuite/gcc.dg/pr70169.c                  | 1 +
 gcc/testsuite/gcc.dg/pr80112.c                  | 1 +
 gcc/testsuite/gcc.dg/torture/pr51071-2.c        | 1 +
 gcc/testsuite/gcc.dg/torture/pr51071.c          | 1 +
 gcc/testsuite/gcc.dg/tree-ssa/alias-34.c        | 1 +
 9 files changed, 10 insertions(+)

diff --git a/gcc/testsuite/c-c++-common/pr43395.c b/gcc/testsuite/c-c++-common/pr43395.c
index f672c8c..d060ae2 100644
--- a/gcc/testsuite/c-c++-common/pr43395.c
+++ b/gcc/testsuite/c-c++-common/pr43395.c
@@ -1,5 +1,6 @@
 /* PR c/43395 */
 /* { dg-do compile } */
+/* { dg-require-effective-target label_values } */
 
 void *
 foo (void)
diff --git a/gcc/testsuite/gcc.c-torture/compile/asmgoto-1.c b/gcc/testsuite/gcc.c-torture/compile/asmgoto-1.c
index cc34610..5029699 100644
--- a/gcc/testsuite/gcc.c-torture/compile/asmgoto-1.c
+++ b/gcc/testsuite/gcc.c-torture/compile/asmgoto-1.c
@@ -1,3 +1,5 @@
+/* { dg-require-effective-target label_values } */
+
 void fn (void);
 
 void
diff --git a/gcc/testsuite/gcc.dg/20000707-1.c b/gcc/testsuite/gcc.dg/20000707-1.c
index 5328dfa..85a3315 100644
--- a/gcc/testsuite/gcc.dg/20000707-1.c
+++ b/gcc/testsuite/gcc.dg/20000707-1.c
@@ -1,5 +1,6 @@
 /* { dg-do compile } */
 /* { dg-options "-O2 -Wall" } */
+/* { dg-require-effective-target label_values } */
 
 extern void foo(void *here);
 extern inline void bar(void)
diff --git a/gcc/testsuite/gcc.dg/pr38700.c b/gcc/testsuite/gcc.dg/pr38700.c
index ebece7f..8b7cbc8 100644
--- a/gcc/testsuite/gcc.dg/pr38700.c
+++ b/gcc/testsuite/gcc.dg/pr38700.c
@@ -1,6 +1,7 @@
 /* PR c/38700 */
 /* { dg-do compile } */
 /* { dg-options "-O0" } */
+/* { dg-require-effective-target label_values } */
 
 int
 foo ()
diff --git a/gcc/testsuite/gcc.dg/pr70169.c b/gcc/testsuite/gcc.dg/pr70169.c
index 41381e7..56e72f3 100644
--- a/gcc/testsuite/gcc.dg/pr70169.c
+++ b/gcc/testsuite/gcc.dg/pr70169.c
@@ -2,6 +2,7 @@
 /* { dg-do compile } */
 /* { dg-options "-O2 -fno-strict-aliasing -fno-tree-dce" } */
 /* { dg-skip-if "Program and data reside in different address spaces" { "avr-*-*" } } */
+/* { dg-require-effective-target label_values } */
 
 int printf (const char *, ...); 
 
diff --git a/gcc/testsuite/gcc.dg/pr80112.c b/gcc/testsuite/gcc.dg/pr80112.c
index 7c78aae..8d6ef3c 100644
--- a/gcc/testsuite/gcc.dg/pr80112.c
+++ b/gcc/testsuite/gcc.dg/pr80112.c
@@ -1,6 +1,7 @@
 /* PR rtl-optimization/80112 */
 /* { dg-do compile } */
 /* { dg-options "-Os -fmodulo-sched" } */
+/* { dg-require-effective-target label_values } */
 
 void **a;
 
diff --git a/gcc/testsuite/gcc.dg/torture/pr51071-2.c b/gcc/testsuite/gcc.dg/torture/pr51071-2.c
index ccf3d81..638b4b8 100644
--- a/gcc/testsuite/gcc.dg/torture/pr51071-2.c
+++ b/gcc/testsuite/gcc.dg/torture/pr51071-2.c
@@ -1,5 +1,6 @@
 /* { dg-do compile } */
 /* { dg-options "-fno-delete-null-pointer-checks" } */
+/* { dg-require-effective-target label_values } */
 
 __extension__ typedef __UINTPTR_TYPE__ uintptr_t;
 
diff --git a/gcc/testsuite/gcc.dg/torture/pr51071.c b/gcc/testsuite/gcc.dg/torture/pr51071.c
index 99af958..ad83dcc 100644
--- a/gcc/testsuite/gcc.dg/torture/pr51071.c
+++ b/gcc/testsuite/gcc.dg/torture/pr51071.c
@@ -1,4 +1,5 @@
 /* { dg-do compile } */
+/* { dg-require-effective-target label_values } */
 
 void foo (void);
 void bar (void *);
diff --git a/gcc/testsuite/gcc.dg/tree-ssa/alias-34.c b/gcc/testsuite/gcc.dg/tree-ssa/alias-34.c
index 5738fea..363d121 100644
--- a/gcc/testsuite/gcc.dg/tree-ssa/alias-34.c
+++ b/gcc/testsuite/gcc.dg/tree-ssa/alias-34.c
@@ -1,5 +1,6 @@
 /* { dg-do compile } */
 /* { dg-options "-O2 -fno-strict-aliasing -fdump-tree-optimized" } */
+/* { dg-require-effective-target label_values } */
 
 void foo (int b)
 {

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