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
This commit is contained in:
Marek Polacek 2019-08-07 21:21:57 +00:00 committed by Marek Polacek
parent 9b6fb97c99
commit f2f9d24da8
2 changed files with 12 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2019-08-07 Marek Polacek <polacek@redhat.com>
PR c++/67533
* g++.dg/tls/thread_local-ice5.C: New test.
2019-08-07 Richard Sandiford <richard.sandiford@arm.com>
* gcc.target/aarch64/sve/init_13.c: New test.

View File

@ -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 "" }