This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r121505 - in /branches/gcc-4_2-branch/gcc: cp/C...
- From: jakub at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Fri, 02 Feb 2007 15:23:59 -0000
- Subject: r121505 - in /branches/gcc-4_2-branch/gcc: cp/C...
Author: jakub
Date: Fri Feb 2 15:23:58 2007
New Revision: 121505
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=121505
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_2-branch/gcc/testsuite/g++.dg/tls/diag-5.C
Modified:
branches/gcc-4_2-branch/gcc/cp/ChangeLog
branches/gcc-4_2-branch/gcc/cp/decl.c
branches/gcc-4_2-branch/gcc/testsuite/ChangeLog