[Bug c++/79288] [7 Regression] TLS model wrong for static data members since r241137
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Feb 15 17:10:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79288
--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Wed Feb 15 17:09:18 2017
New Revision: 245488
URL: https://gcc.gnu.org/viewcvs?rev=245488&root=gcc&view=rev
Log:
PR c++/79288
* decl.c (grokdeclarator): For static data members, handle thread_p
only after handling inline.
* g++.dg/tls/pr79288.C: New test.
Added:
trunk/gcc/testsuite/g++.dg/tls/pr79288.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/decl.c
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list