------- Comment #3 from jakub at gcc dot gnu dot org 2007-02-14 20:35 ------- Subject: Bug 30536
Author: jakub Date: Wed Feb 14 20:35:19 2007 New Revision: 121962 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=121962 Log: PR c++/30536 * decl.c (grokdeclarator): If __thread is used together with a storage class other than extern and static, clear thread_p after issuing diagnostics and fall through to checking the storage class. * g++.dg/tls/diag-5.C: New test. Added: branches/gcc-4_1-branch/gcc/testsuite/g++.dg/tls/diag-5.C Modified: branches/gcc-4_1-branch/gcc/cp/ChangeLog branches/gcc-4_1-branch/gcc/cp/decl.c branches/gcc-4_1-branch/gcc/testsuite/ChangeLog -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30536