From: Jakub Jelinek Date: Tue, 17 Apr 2018 20:43:49 +0000 (+0200) Subject: re PR testsuite/85326 (`make check` fails with `--disable-bootstrap` and `--enable... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3f586095d5c004b73d33dcb944705a4b0b07710a;p=gcc.git re PR testsuite/85326 (`make check` fails with `--disable-bootstrap` and `--enable-languages=c`) 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 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index b07c42a75d0..df909f7aa2b 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,10 @@ +2018-04-17 Jakub Jelinek + + 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 * gcc.target/powerpc/bfp/scalar-extract-sig-5.c: Simplify to diff --git a/gcc/testsuite/g++.dg/other/pr60675.C b/gcc/testsuite/g++.dg/other/pr60675.C index 11001559147..7a9a0e3037d 100644 --- a/gcc/testsuite/g++.dg/other/pr60675.C +++ b/gcc/testsuite/g++.dg/other/pr60675.C @@ -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; diff --git a/gcc/testsuite/g++.dg/other/pr81422.C b/gcc/testsuite/g++.dg/other/pr81422.C index 5bcc948996e..63749f639c9 100644 --- a/gcc/testsuite/g++.dg/other/pr81422.C +++ b/gcc/testsuite/g++.dg/other/pr81422.C @@ -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}); } - diff --git a/gcc/testsuite/g++.dg/other/sve_tls_2.C b/gcc/testsuite/g++.dg/other/sve_tls_2.C index d159255fc94..ed4689353ae 100644 --- a/gcc/testsuite/g++.dg/other/sve_tls_2.C +++ b/gcc/testsuite/g++.dg/other/sve_tls_2.C @@ -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