[Bug c++/60702] thread_local initialization
arturomdn at gmail dot com
gcc-bugzilla@gcc.gnu.org
Wed Apr 2 22:44:00 GMT 2014
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60702
arturomdn at gmail dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |arturomdn at gmail dot com
--- Comment #4 from arturomdn at gmail dot com ---
Created attachment 32528
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=32528&action=edit
Smaller testcase that reproduces the problem
clang had the same problem, this smaller test was submitted to the clang team
and they identified it as a duplicate of a recently fixed bug:
http://llvm.org/bugs/show_bug.cgi?id=19254
Which was fixed as follows
http://llvm.org/viewvc/llvm-project?view=revision&revision=204869
With the following comment:
PR19254: If a thread_local data member of a class is accessed via member access
syntax, don't forget to run its initializer.
More information about the Gcc-bugs
mailing list