This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/66944] ICE on static thread_local member in class template
- From: "jason.vas.dias at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 21 Jun 2017 22:37:47 +0000
- Subject: [Bug c++/66944] ICE on static thread_local member in class template
- Auto-submitted: auto-generated
- References: <bug-66944-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66944
Jason Vas Dias <jason.vas.dias at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jason.vas.dias at gmail dot com
--- Comment #5 from Jason Vas Dias <jason.vas.dias at gmail dot com> ---
Very glad to find this bug, enabling my sanity to be preserved .
It also happens with GCC 5.4.0 - and yes, re-declaring as
'static thread_local' in each member function that uses a
static thread_local class member object appears to be the only workaround -
thanks!
I hope this is fixed in 7.1 ...