This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [C++ PATCH] Fix ICE on invalid use of __thread register on field (PR c++/30536)


Jakub Jelinek wrote:

> Ok for 4.1 (when 4.1.2 is out)/4.2/4.3?
> 
> 2007-02-01  Jakub Jelinek  <jakub@redhat.com>
> 
> 	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.

OK, as you suggest above for the various branches.

Thanks,

-- 
Mark Mitchell
CodeSourcery
mark@codesourcery.com
(650) 331-3385 x713


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]