This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch] PR debug/66653: avoid late_global_decl on decl_type_context()s
- From: Richard Biener <richard dot guenther at gmail dot com>
- To: Jason Merrill <jason at redhat dot com>
- Cc: Aldy Hernandez <aldyh at redhat dot com>, gcc-patches <gcc-patches at gcc dot gnu dot org>, Jan Hubicka <hubicka at ucw dot cz>
- Date: Wed, 1 Jul 2015 09:39:36 +0200
- Subject: Re: [patch] PR debug/66653: avoid late_global_decl on decl_type_context()s
- Authentication-results: sourceware.org; auth=none
- References: <558B71A3 dot 3080004 at redhat dot com> <558C32D7 dot 1090902 at redhat dot com> <CAFiYyc0S_+GnYtiOdzJWkdAeYwAT6CJH3nk2SUeLL_bx3bh9vA at mail dot gmail dot com> <558DCB24 dot 6060904 at redhat dot com> <CAFiYyc0DyxDJ_hfhG=mT8W0QXqYtOo+iaduRdcKMw3xk7JTmqg at mail dot gmail dot com> <5591C776 dot 5050405 at redhat dot com> <5592A818 dot 7070607 at redhat dot com>
On Tue, Jun 30, 2015 at 4:30 PM, Jason Merrill <jason@redhat.com> wrote:
> On 06/29/2015 06:32 PM, Jason Merrill wrote:
>>
>> On 06/29/2015 05:07 AM, Richard Biener wrote:
>>>
>>> On Fri, Jun 26, 2015 at 11:59 PM, Jason Merrill <jason@redhat.com> wrote:
>>>>
>>>> On 06/26/2015 05:37 AM, Richard Biener wrote:
>>>>>
>>>>>
>>>>> Can we defer TLS model setting to template instantiation?
>>>>
>>>>
>>>> We need to represent somehow that __thread (or thread_local) was used in
>>>> the
>>>> declaration, but DECL_THREAD_LOCAL_P was changed to refer to the TLS
>>>> model.
>>>
>>>
>>> Ok, so "easiest" would be to allocate a bit from decl_with_vis for
>>> this...
>>
>>
>> Or I can find a flag in the front end. I guess I'll do that.
>
>
> Thus.
Looks good to me.
Richard.
> Jason
>