From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 89776 invoked by alias); 27 Jun 2015 08:28:50 -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 89765 invoked by uid 89); 27 Jun 2015 08:28:49 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.3 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_LOW autolearn=no version=3.3.2 X-HELO: mail-out.m-online.net Received: from mail-out.m-online.net (HELO mail-out.m-online.net) (212.18.0.9) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (CAMELLIA256-SHA encrypted) ESMTPS; Sat, 27 Jun 2015 08:28:48 +0000 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 3mJSsS4BF3z3hjMm; Sat, 27 Jun 2015 10:28:44 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.6.68]) by mail.m-online.net (Postfix) with ESMTP id 3mJSsS36xhzvh1n; Sat, 27 Jun 2015 10:28:44 +0200 (CEST) Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.68]) (amavisd-new, port 10024) with ESMTP id GUN7TXDsQXJw; Sat, 27 Jun 2015 10:28:43 +0200 (CEST) X-Auth-Info: iI6w9g8ZYjHiq3Zjn/VAGSSeZgJPlkkii9mz57D92QNsBYgQ5S0lR3828LGDRcFZ Received: from linux.local (ppp-93-104-94-36.dynamic.mnet-online.de [93.104.94.36]) by mail.mnet-online.de (Postfix) with ESMTPA; Sat, 27 Jun 2015 10:28:43 +0200 (CEST) Received: by linux.local (Postfix, from userid 501) id BD4F81E58AC; Sat, 27 Jun 2015 10:28:38 +0200 (CEST) From: Andreas Schwab To: Jason Merrill Cc: gcc-patches List Subject: Re: C++ PATCH for c++/66255 (ICE with non-type template parameter of typedef type) References: <558DB65E.405@redhat.com> X-Yow: Tex SEX! The HOME of WHEELS! The dripping of COFFEE!! Take me to Minnesota but don't EMBARRASS me!! Date: Sat, 27 Jun 2015 10:59:00 -0000 In-Reply-To: <558DB65E.405@redhat.com> (Jason Merrill's message of "Fri, 26 Jun 2015 16:30:22 -0400") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-SW-Source: 2015-06/txt/msg02009.txt.bz2 * pt.c (check_unstripped_args): Mark parameter as unused. diff --git a/gcc/cp/pt.c b/gcc/cp/pt.c index 082e04c..ad2970d 100644 --- a/gcc/cp/pt.c +++ b/gcc/cp/pt.c @@ -1023,7 +1023,7 @@ optimize_specialization_lookup_p (tree tmpl) gone through coerce_template_parms by now. */ static void -check_unstripped_args (tree args) +check_unstripped_args (tree args ATTRIBUTE_UNUSED) { #ifdef ENABLE_CHECKING ++processing_template_decl; -- 2.4.5 -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."