[Bug c++/55800] Link failure with thread_local in unnamed namespace
jason at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Jan 31 16:26:00 GMT 2014
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55800
--- Comment #9 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Fri Jan 31 16:26:02 2014
New Revision: 207361
URL: http://gcc.gnu.org/viewcvs?rev=207361&root=gcc&view=rev
Log:
PR c++/55800
* decl2.c (get_tls_init_fn): Copy DECL_EXTERNAL from the variable.
Added:
branches/gcc-4_8-branch/gcc/testsuite/g++.dg/tls/thread_local8.C
Modified:
branches/gcc-4_8-branch/gcc/cp/ChangeLog
branches/gcc-4_8-branch/gcc/cp/decl2.c
More information about the Gcc-bugs
mailing list