From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22453 invoked by alias); 23 Jun 2011 15:52:28 -0000 Received: (qmail 22443 invoked by uid 22791); 23 Jun 2011 15:52:26 -0000 X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE X-Spam-Check-By: sourceware.org Received: from smtp206.alice.it (HELO smtp206.alice.it) (82.57.200.102) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 23 Jun 2011 15:51:44 +0000 Received: from [192.168.1.4] (79.52.194.95) by smtp206.alice.it (8.5.124.08) id 4DE63E320229009E; Thu, 23 Jun 2011 17:51:39 +0200 Message-ID: <4E03613B.2020302@oracle.com> Date: Thu, 23 Jun 2011 16:06:00 -0000 From: Paolo Carlini User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.17) Gecko/20110414 SUSE/3.1.10 Thunderbird/3.1.10 MIME-Version: 1.0 To: Jason Merrill CC: "gcc-patches@gcc.gnu.org" Subject: Re: [C++ Patch] PR 44625 References: <4E031E9C.8090502@oracle.com> <4E0352EF.6000007@redhat.com> <4E035C0C.2070407@oracle.com> <4E035FF6.4050209@redhat.com> In-Reply-To: <4E035FF6.4050209@redhat.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes 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: 2011-06/txt/msg01778.txt.bz2 On 06/23/2011 05:47 PM, Jason Merrill wrote: > Indeed. The code is using DECL_NAME in templates so that tsubst can > look them up again by name, but as we see in this PR that can't work > if the field has no name. We need a different strategy for handling > anonymous aggregates nested in other anonymous aggregates in templates. Ok, then, from what you saying I understand that it should be possible to actually construct a reject-valid or an ice-on-valid in this area, isn't just about improving the diagnostic, that is only the tip of the iceberg, so to speak. I guess it's not for me, at this time... Paolo.