From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 70196 invoked by alias); 5 Oct 2015 17:10:28 -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 70172 invoked by uid 89); 5 Oct 2015 17:10:27 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-3.5 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,T_RP_MATCHES_RCVD 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, 05 Oct 2015 17:10:26 +0000 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (Postfix) with ESMTPS id A38FF192451; Mon, 5 Oct 2015 17:10:24 +0000 (UTC) Received: from [10.10.116.17] (ovpn-116-17.rdu2.redhat.com [10.10.116.17]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id t95HANUb006887; Mon, 5 Oct 2015 13:10:24 -0400 Subject: Re: [C++ Patch] PR 53856 To: Paolo Carlini , "gcc-patches@gcc.gnu.org" References: <5601ACA0.3010405@oracle.com> <5603F999.4030502@redhat.com> <5612AA65.1080308@oracle.com> From: Jason Merrill Message-ID: <5612AEFF.3090406@redhat.com> Date: Mon, 05 Oct 2015 17:10:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: <5612AA65.1080308@oracle.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2015-10/txt/msg00446.txt.bz2 On 10/05/2015 12:50 PM, Paolo Carlini wrote: > + else if (!current_class_type || CLASSTYPE_IS_TEMPLATE (current_class_type)) > + msg = G_("default argument for template parameter for class enclosing %qD"); Why would this be right when !current_class_type? Jason