re PR c++/79288 (TLS model wrong for static data members since r241137)
authorJakub Jelinek <jakub@redhat.com>
Wed, 15 Feb 2017 17:09:18 +0000 (18:09 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Wed, 15 Feb 2017 17:09:18 +0000 (18:09 +0100)
commit4f5e5fcba8a9cbabb0e05f9cb753b549396bc2de
treeeedc04635f147eb5c3a44a73db1298a990093775
parent1eb08f5270794aa13b1f8cfa98c9323914b3011a
re PR c++/79288 (TLS model wrong for static data members since r241137)

PR c++/79288
* decl.c (grokdeclarator): For static data members, handle thread_p
only after handling inline.

* g++.dg/tls/pr79288.C: New test.

From-SVN: r245488
gcc/cp/ChangeLog
gcc/cp/decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/tls/pr79288.C [new file with mode: 0644]