[Bug c++/66944] New: static thread_local member in class template may cause compilation to fail

2015-07-20 Thread zhykzhykzhyk at gmail dot com
: rejects-valid Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: zhykzhykzhyk at gmail dot com Target Milestone: --- Affect Versions: 4.9.3, 5.1.0, 5.2.0 Expected behavior: compiles correctly (like clang

[Bug c++/66944] static thread_local member in class template may cause compilation to fail

2015-07-20 Thread zhykzhykzhyk at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66944 zhykzhykzhyk at gmail dot com changed: What|Removed |Added Severity|normal |major

[Bug c++/66160] gcc-5.1.0 fails with "lambda-expression in unevaluated context" where gcc-4.9.2 succeeds

2015-07-21 Thread zhykzhykzhyk at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66160 zhykzhykzhyk at gmail dot com changed: What|Removed |Added CC||zhykzhykzhyk at gmail dot

[Bug c++/66967] New: thread local's destructor not called if compile with -fno-use-cxa-atexit

2015-07-22 Thread zhykzhykzhyk at gmail dot com
erity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: zhykzhykzhyk at gmail dot com Target Milestone: --- $ cat a.cc #include #include struct A { A() { puts("CONS"); } ~A() { puts("DES"); } }; stat

[Bug c++/66971] New: thread_local with external linkage and constructor cannot be compiled correctly

2015-07-22 Thread zhykzhykzhyk at gmail dot com
: link-failure Severity: critical Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: zhykzhykzhyk at gmail dot com Target Milestone: --- $ cat 1.cc #include #include extern thread_local std::string s; int main

[Bug c++/66971] thread_local with external linkage and constructor cannot be compiled correctly

2015-07-22 Thread zhykzhykzhyk at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66971 zhykzhykzhyk at gmail dot com changed: What|Removed |Added Severity|critical|major