From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5302 invoked by alias); 12 Mar 2012 12:36:34 -0000 Received: (qmail 5185 invoked by uid 22791); 12 Mar 2012 12:36:33 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from seketeli.net (HELO ms.seketeli.net) (91.121.166.71) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 12 Mar 2012 12:36:20 +0000 Received: from localhost (torimasen.com [82.237.12.13]) by ms.seketeli.net (Postfix) with ESMTP id 67658EA042; Mon, 12 Mar 2012 13:07:50 +0100 (CET) Received: by localhost (Postfix, from userid 500) id 5122F29C07E; Mon, 12 Mar 2012 13:36:18 +0100 (CET) From: Dodji Seketeli To: Fabien =?utf-8?Q?Ch=C3=AAne?= Cc: Jason Merrill , GCC Patches Subject: Re: [C++ Patch] for c++/52465 References: Mail-Followup-To: GCC Patches X-URL: http://www.seketeli.net/~dodji Date: Mon, 12 Mar 2012 12:36:00 -0000 In-Reply-To: ("Fabien =?utf-8?Q?Ch=C3=AAne=22's?= message of "Thu, 8 Mar 2012 22:34:57 +0100") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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: 2012-03/txt/msg00762.txt.bz2 Hello Fabien, Fabien Ch=C3=AAne a =C3=A9crit: [...] > Index: gcc/cp/decl.c > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > --- gcc/cp/decl.c (revision 184891) > +++ gcc/cp/decl.c (working copy) > @@ -8686,6 +8686,9 @@ grokdeclarator (const cp_declarator *dec > type =3D NULL_TREE; > type_was_error_mark_node =3D true; > } > + > + type =3D strip_using_decl (type); > + I am a little bit curious as to why this change is necessary. It seems to me that the test case of your patch would pass even without this change, wouldn't it? Thanks. --=20 Dodji