[Bug c++/60702] New: thread_local initialization

2014-03-28 Thread dv.main at gmail dot com
++ 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

[Bug c++/60702] thread_local initialization

2014-03-28 Thread dv.main at gmail dot com
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

[Bug c++/60702] thread_local initialization

2014-03-28 Thread dv.main at gmail dot com
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

[Bug c++/60702] thread_local initialization

2014-03-28 Thread dv.main at gmail dot com
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 ()