From: Marek Polacek Date: Wed, 7 Aug 2019 21:21:57 +0000 (+0000) Subject: re PR c++/67533 (internal compiler error: in build_call_a, at cp/call.c:372) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f2f9d24da809ef490faaef97eb56729a0c3694df;p=gcc.git re PR c++/67533 (internal compiler error: in build_call_a, at cp/call.c:372) PR c++/67533 * g++.dg/tls/thread_local-ice5.C: New test. From-SVN: r274200 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index cf4cbabca69..cade2979e45 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2019-08-07 Marek Polacek + + PR c++/67533 + * g++.dg/tls/thread_local-ice5.C: New test. + 2019-08-07 Richard Sandiford * gcc.target/aarch64/sve/init_13.c: New test. diff --git a/gcc/testsuite/g++.dg/tls/thread_local-ice5.C b/gcc/testsuite/g++.dg/tls/thread_local-ice5.C new file mode 100644 index 00000000000..4147c322e7b --- /dev/null +++ b/gcc/testsuite/g++.dg/tls/thread_local-ice5.C @@ -0,0 +1,7 @@ +// PR c++/67533 +// { dg-do compile { target c++11 } } +// { dg-require-effective-target tls } + +struct Tls {}; +void _ZTW5mytls(); +thread_local Tls mytls = mytls; // { dg-error "" }