From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 127539 invoked by alias); 29 Jun 2015 22:32:30 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 127529 invoked by uid 89); 29 Jun 2015 22:32:30 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-3.8 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Mon, 29 Jun 2015 22:32:29 +0000 Received: from int-mx13.intmail.prod.int.phx2.redhat.com (int-mx13.intmail.prod.int.phx2.redhat.com [10.5.11.26]) by mx1.redhat.com (Postfix) with ESMTPS id 7B35D8E71A; Mon, 29 Jun 2015 22:32:28 +0000 (UTC) Received: from [10.10.116.35] ([10.10.116.35]) by int-mx13.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id t5TMWQGQ015191; Mon, 29 Jun 2015 18:32:27 -0400 Message-ID: <5591C776.5050405@redhat.com> Date: Mon, 29 Jun 2015 22:35:00 -0000 From: Jason Merrill User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: Richard Biener CC: Aldy Hernandez , gcc-patches , Jan Hubicka Subject: Re: [patch] PR debug/66653: avoid late_global_decl on decl_type_context()s References: <558B71A3.3080004@redhat.com> <558C32D7.1090902@redhat.com> <558DCB24.6060904@redhat.com> In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2015-06/txt/msg02126.txt.bz2 On 06/29/2015 05:07 AM, Richard Biener wrote: > On Fri, Jun 26, 2015 at 11:59 PM, Jason Merrill 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. Jason