Add dg-require-effective-target indirect_jumps for g++
authorTom de Vries <tom@codesourcery.com>
Fri, 12 Jan 2018 10:03:00 +0000 (10:03 +0000)
committerTom de Vries <vries@gcc.gnu.org>
Fri, 12 Jan 2018 10:03:00 +0000 (10:03 +0000)
2018-01-12  Tom de Vries  <tom@codesourcery.com>

* g++.dg/ext/label13.C: Add dg-require-effective-target indirect_jumps.
* g++.dg/ext/label13a.C: Same.
* g++.dg/ext/label14.C: Same.
* g++.dg/ext/label2.C: Same.
* g++.dg/ext/label3.C: Same.
* g++.dg/torture/pr42462.C: Same.
* g++.dg/torture/pr42739.C: Same.
* g++.dg/warn/Wunused-label-3.C: Same.

From-SVN: r256571

gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/ext/label13.C
gcc/testsuite/g++.dg/ext/label13a.C
gcc/testsuite/g++.dg/ext/label14.C
gcc/testsuite/g++.dg/ext/label2.C
gcc/testsuite/g++.dg/ext/label3.C
gcc/testsuite/g++.dg/torture/pr42462.C
gcc/testsuite/g++.dg/torture/pr42739.C
gcc/testsuite/g++.dg/warn/Wunused-label-3.C

index 5ee13071f9b23e45eacb6a963d63ea440886575d..cb4b120de0390618a3e6eb0c201e65412ed15880 100644 (file)
@@ -1,3 +1,14 @@
+2018-01-12  Tom de Vries  <tom@codesourcery.com>
+
+       * g++.dg/ext/label13.C: Add dg-require-effective-target indirect_jumps.
+       * g++.dg/ext/label13a.C: Same.
+       * g++.dg/ext/label14.C: Same.
+       * g++.dg/ext/label2.C: Same.
+       * g++.dg/ext/label3.C: Same.
+       * g++.dg/torture/pr42462.C: Same.
+       * g++.dg/torture/pr42739.C: Same.
+       * g++.dg/warn/Wunused-label-3.C: Same.
+
 2018-01-12  Tom de Vries  <tom@codesourcery.com>
 
        * c-c++-common/dwarf2/vla1.c: Add dg-require-effective-target alloca.
index 70f251d75f01c01ba6b34ea17c9931a7f0d81792..8b39716a508c347d94bdc88d4cb2c766d712153a 100644 (file)
@@ -1,6 +1,7 @@
 // PR c++/41090
 // { dg-do run }
 // { dg-options "" }
+// { dg-require-effective-target indirect_jumps }
 
 int i;
 struct C
index 120efebadfd46b450765f75ea2782c7bb6e92ec4..3d369065a1dd030b16680c5b83b17315a9b860e4 100644 (file)
@@ -1,6 +1,7 @@
 // PR c++/41090
 // { dg-do run }
 // { dg-options "-save-temps" }
+// { dg-require-effective-target indirect_jumps }
 // { dg-final { scan-assembler "_ZN1CC4Ev" } }
 
 int i;
index d1a8b0d5299a117d95873f6511679c452b8f3949..990673de67948bf7e2ae5767972fc8bc17190eed 100644 (file)
@@ -1,6 +1,7 @@
 // PR c++/53812
 // { dg-do compile }
 // { dg-options "" }
+// { dg-require-effective-target indirect_jumps }
 
 struct T { T () : t(0) {}; int t; ~T (); };
 struct S { void *operator [] (T); };
index 7d11d00f52eebad1b1bbf17c200f566365805aa7..5d29feb8b39f878d544b65604bb879070824e1b8 100644 (file)
@@ -1,4 +1,5 @@
 // { dg-options "" }
+// { dg-require-effective-target indirect_jumps }
 
 template <typename T>
 void f() {
index 604bfdc12c3cb4d4b69798465b5afd3d48b465a0..71188993da222b9639f7a12608ae8ec797f6b0f9 100644 (file)
@@ -5,6 +5,7 @@
 
 // { dg-do run }
 // { dg-options "-O2" }
+// { dg-require-effective-target indirect_jumps }
 
 extern "C" int printf (const char *, ...);
 
index 947fa388fecca1a7f8d3a2ae3e131e0a807ae20c..23eb672ee7eed88c805a7ef4e4d36a8391d09873 100644 (file)
@@ -1,4 +1,5 @@
 /* { dg-do run } */
+/* { dg-require-effective-target indirect_jumps } */
 
 #define INLINE inline __attribute__((always_inline))
 extern "C" void abort (void);
index ccc05f8360c107d200b76e667ef742df3df791ec..2120648754223a122f53f6fbf24bd9ba8abed062 100644 (file)
@@ -1,4 +1,5 @@
 /* { dg-do compile } */
+/* { dg-require-effective-target indirect_jumps } */
 
 struct s { ~s() { s(); } };
 
index 7479ca20c370640903ad52d93471bb0b364d7d2d..e034c27370ba8a7d0019cc0a98effa44a3bd9202 100644 (file)
@@ -1,5 +1,6 @@
 // { dg-do compile }
 // { dg-options "-Wunused-label" }
+// { dg-require-effective-target indirect_jumps }
 
 extern void f9();