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:
parent
9b6fb97c99
commit
f2f9d24da8
@ -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.
|
||||
|
7
gcc/testsuite/g++.dg/tls/thread_local-ice5.C
Normal file
7
gcc/testsuite/g++.dg/tls/thread_local-ice5.C
Normal 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 "" }
|
Loading…
Reference in New Issue
Block a user