re PR testsuite/85326 (`make check` fails with `--disable-bootstrap` and `--enable...
authorJakub Jelinek <jakub@redhat.com>
Tue, 17 Apr 2018 20:43:49 +0000 (22:43 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Tue, 17 Apr 2018 20:43:49 +0000 (22:43 +0200)
PR testsuite/85326
* g++.dg/other/pr81422.C: Require effective target tls and c++11.
* g++.dg/other/pr60675.C: Likewise.  Remove -std=c++11 from dg-options.
* g++.dg/other/sve_tls_2.C: Require effective target tls.

From-SVN: r259447

gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/other/pr60675.C
gcc/testsuite/g++.dg/other/pr81422.C
gcc/testsuite/g++.dg/other/sve_tls_2.C

index b07c42a75d070c1192cb3dbab055ec11fba8a2b6..df909f7aa2bbabbfe8739c55285af600df67f325 100644 (file)
@@ -1,3 +1,10 @@
+2018-04-17  Jakub Jelinek  <jakub@redhat.com>
+
+       PR testsuite/85326
+       * g++.dg/other/pr81422.C: Require effective target tls and c++11.
+       * g++.dg/other/pr60675.C: Likewise.  Remove -std=c++11 from dg-options.
+       * g++.dg/other/sve_tls_2.C: Require effective target tls.
+
 2018-04-13  Kelvin Nilsen  <kelvin@gcc.gnu.org>
 
        * gcc.target/powerpc/bfp/scalar-extract-sig-5.c: Simplify to
index 11001559147db822041a8b806a8d30b6e99a785c..7a9a0e3037d9b2b3caf75008c34a9197649cefde 100644 (file)
@@ -1,5 +1,7 @@
-/* { dg-do compile { target fpic } } */
-/* { dg-options "-std=c++11 -w -O2 -fPIC" } */
+/* { dg-do compile { target c++11 } } */
+/* { dg-require-effective-target tls } */
+/* { dg-require-effective-target fpic } */
+/* { dg-options "-w -O2 -fPIC" } */
 namespace CLHEP {
       static const double meter = 1000.*10;
       static const double meter2 = meter*meter;
index 5bcc948996ea4943ae41e413a4a193f5f045fb8b..63749f639c9a527a16958930f7c6ee656d577e37 100644 (file)
@@ -1,4 +1,5 @@
-/* { dg-do compile } */
+/* { dg-do compile { target c++11 } } */
+/* { dg-require-effective-target tls } */
 /* { dg-options "-O0" } */
 
 struct DArray
@@ -12,4 +13,3 @@ void foo35(DArray)
     static __thread int x[5];
     foo35({5, (int*)&x});
 }
-
index d159255fc9498bdb4a4ee1fbac982658a049923a..ed4689353ae75da5256047e1ce6ad46d912ca3d4 100644 (file)
@@ -1,4 +1,5 @@
 /* { dg-do compile { target aarch64*-*-* } } */
+/* { dg-require-effective-target tls } */
 /* { dg-options "-O2 -march=armv8.2-a+sve -fPIC -msve-vector-bits=256" } */
 
 #include <stdint.h>