++
Assignee: unassigned at gcc dot gnu.org
Reporter: dv.main at gmail dot com
Created attachment 32480
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=32480&action=edit
Gcc verbose output
Invalid thread local object initialization.
Snippet:
#include
using namespace std;
str
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60702
--- Comment #2 from Stan Pavlovski ---
Created attachment 32482
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=32482&action=edit
Source file
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60702
--- Comment #1 from Stan Pavlovski ---
Created attachment 32481
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=32481&action=edit
Gcc temp output
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60702
--- Comment #3 from Stan Pavlovski ---
Template class' thread_local member is not initialized unless other
non-template class' thread_local member is initialized first:
#include
using namespace std;
struct far {
struct boo {
boo ()