r121496 - in /trunk/gcc: cp/ChangeLog cp/decl.c...
jakub@gcc.gnu.org
jakub@gcc.gnu.org
Fri Feb 2 12:23:00 GMT 2007
Author: jakub
Date: Fri Feb 2 12:23:18 2007
New Revision: 121496
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=121496
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:
trunk/gcc/testsuite/g++.dg/tls/diag-5.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/decl.c
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-cvs
mailing list