From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30991 invoked by alias); 19 Nov 2009 16:12:45 -0000 Received: (qmail 30980 invoked by uid 22791); 19 Nov 2009 16:12:44 -0000 X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 19 Nov 2009 16:11:41 +0000 Received: from int-mx08.intmail.prod.int.phx2.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id nAJGBd70010109 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Thu, 19 Nov 2009 11:11:39 -0500 Received: from [IPv6:::1] (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by int-mx08.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id nAJGBc4f003339; Thu, 19 Nov 2009 11:11:38 -0500 Message-ID: <4B056E3A.4060606@redhat.com> Date: Thu, 19 Nov 2009 16:13:00 -0000 From: Jason Merrill User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.5) Gecko/20091115 Shredder/3.0.1pre MIME-Version: 1.0 To: Dodji Seketeli CC: gcc-patches@gcc.gnu.org Subject: Re: PR c++/141777 References: <20091116221032.GF23086@adjoa.torimasen.com> <4B01F7D1.1010501@redhat.com> <20091117130404.GH23086@adjoa.torimasen.com> <4B030A6C.10404@redhat.com> <20091119141933.GO23086@adjoa.torimasen.com> In-Reply-To: <20091119141933.GO23086@adjoa.torimasen.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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 X-SW-Source: 2009-11/txt/msg01029.txt.bz2 On 11/19/2009 09:19 AM, Dodji Seketeli wrote: > So I went ahead and tried the second approach we discussed on IRC, which is > to create a new kind of tree node to store template_info bits, instead of > the TREE_LIST it uses today. I was thinking that we didn't need a new tree node, just change the template_info fields in lang_decl_min and lang_type_class to be a new type, i.e. a pointer to your template_info_s. Jason