https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64697
--- Comment #4 from raidl at ac dot tuwien.ac.at --- Problem is still present in gcc 5.3.0. Furthermore, it also appears when the thread_local variable is a static class member.
raidl at ac dot tuwien.ac.at Sun, 07 Feb 2016 23:09:07 -0800
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64697
--- Comment #4 from raidl at ac dot tuwien.ac.at --- Problem is still present in gcc 5.3.0. Furthermore, it also appears when the thread_local variable is a static class member.