re PR middle-end/58624 (gcc internal compiler error: Segmentaion fault in insert_to_a...
authorJason Merrill <jason@redhat.com>
Tue, 26 Aug 2014 19:39:36 +0000 (15:39 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Tue, 26 Aug 2014 19:39:36 +0000 (15:39 -0400)
commit71d64cd435526ba6470a84f6b7e0a3ee3cac790c
tree8447e46f6e36b2d26eba2c8ce315826c9f73307a
parent61aa0978e2caf0417a78289eed85010b0c11be94
re PR middle-end/58624 (gcc internal compiler error: Segmentaion fault in insert_to_assembler_name_hash)

PR c++/58624
* pt.c (tsubst_decl) [VAR_DECL]: Copy TLS model.
(tsubst_copy_and_build) [VAR_DECL]: Use TLS wrapper.
* semantics.c (finish_id_expression): Don't call TLS wrapper in a
template.

From-SVN: r214543
gcc/cp/ChangeLog
gcc/cp/pt.c
gcc/cp/semantics.c
gcc/testsuite/g++.dg/tls/thread_local10.C [new file with mode: 0644]