From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1573 invoked by alias); 28 Mar 2012 20:38:00 -0000 Received: (qmail 1506 invoked by uid 22791); 28 Mar 2012 20:37:58 -0000 X-SWARE-Spam-Status: No, hits=-6.6 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,SPF_HELO_PASS,T_RP_MATCHES_RCVD 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; Wed, 28 Mar 2012 20:37:34 +0000 Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q2SKbXiV002823 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Wed, 28 Mar 2012 16:37:33 -0400 Received: from [10.3.113.28] (ovpn-113-28.phx2.redhat.com [10.3.113.28]) by int-mx01.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id q2SKbWxb025773; Wed, 28 Mar 2012 16:37:32 -0400 Message-ID: <4F73768B.4070508@redhat.com> Date: Wed, 28 Mar 2012 20:38:00 -0000 From: Jason Merrill User-Agent: Mozilla/5.0 (X11; Linux i686; rv:10.0.1) Gecko/20120216 Thunderbird/10.0.1 MIME-Version: 1.0 To: Dodji Seketeli CC: GCC Patches Subject: Re: [PATCH] PR c++/50852 - Revisit dependant template parameter References: <4F15C5D8.9030306@redhat.com> <4F21C8D1.5070205@redhat.com> <4F5FBD02.9020500@redhat.com> <4F732D98.70708@redhat.com> In-Reply-To: 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: 2012-03/txt/msg01810.txt.bz2 On 03/28/2012 12:08 PM, Dodji Seketeli wrote: >> On 03/28/2012 11:02 AM, Dodji Seketeli wrote: >>> template class TT> struct S; > > Then, if U and T have the same level, how do we represent the full set > of template parms up to U for instance? I mean if that TREE_LIST of > parms still has two entries - one for level 1 that contains T and one > for level N (which you say should be 1 as well) that contains U - would > the TREE_PURPOSEs of both entries have a 1 as their level number? Hmm, no, I guess you're right; T is an enclosing parameter of TT. Never mind. Jason