This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [C++ PATCH] Fix ICE on invalid use of __thread register on field (PR c++/30536)
- From: Mark Mitchell <mark at codesourcery dot com>
- To: Jakub Jelinek <jakub at redhat dot com>
- Cc: Jason Merrill <jason at redhat dot com>, gcc-patches at gcc dot gnu dot org
- Date: Thu, 01 Feb 2007 08:12:15 -0800
- Subject: Re: [C++ PATCH] Fix ICE on invalid use of __thread register on field (PR c++/30536)
- References: <20070201112036.GF27294@devserv.devel.redhat.com>
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