From patchwork Mon Sep 16 07:17:41 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adam Butcher X-Patchwork-Id: 275123 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 6D4DB2C00FC for ; Mon, 16 Sep 2013 17:18:11 +1000 (EST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:from :to:cc:subject:date:message-id; q=dns; s=default; b=VJuxU+eryImB YTxFqXy5BLKO3ljlSDg4dp9U9UVHbJ4FAgzmDJkx1FwVBSmdgIs8QJYkxL/vWhRE Kbije0S0t/Y6Zg4MSfdMTdIEbGygIGHzGTkjKwi3TsS4Mbzs94nANPyFDwR9g6dp WMY3TKvJeF0moaqoWGOcwJXL8Fsfsa0= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:from :to:cc:subject:date:message-id; s=default; bh=+xqy5IqgGLnFYO2Y7a +ejaYltdE=; b=P9ELkvlp1HoCJLGZ04OUj211zA9Y9rJBDz3GPm/WyQvitHXood b86C4LvrtpC+gR7HbjA797Xwxs++tbGmC/BCM8orY41bhj2ZM69ghG07md0JcgMM HjC2fG2egNwajBW3745q9KZTT9iehlo69ZadV91LGEkTL4gXRpSdtOZds= Received: (qmail 27396 invoked by alias); 16 Sep 2013 07:18:03 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org Received: (qmail 27378 invoked by uid 89); 16 Sep 2013 07:18:02 -0000 Received: from mail-wg0-f41.google.com (HELO mail-wg0-f41.google.com) (74.125.82.41) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Mon, 16 Sep 2013 07:18:02 +0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.7 required=5.0 tests=ALL_TRUSTED, AWL, BAYES_00, FREEMAIL_FROM autolearn=ham version=3.3.2 X-HELO: mail-wg0-f41.google.com Received: by mail-wg0-f41.google.com with SMTP id l18so2772671wgh.2 for ; Mon, 16 Sep 2013 00:17:58 -0700 (PDT) X-Received: by 10.194.202.230 with SMTP id kl6mr21536931wjc.9.1379315878745; Mon, 16 Sep 2013 00:17:58 -0700 (PDT) Received: from sphere.lan (munkyhouse.force9.co.uk. [84.92.244.81]) by mx.google.com with ESMTPSA id mb7sm21262571wic.10.1969.12.31.16.00.00 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 16 Sep 2013 00:17:58 -0700 (PDT) From: Adam Butcher To: gcc-patches@gcc.gnu.org Cc: Jason Merrill , Gabriel Dos Reis , Andrew Sutton , Adam Butcher Subject: [PATCH, committed] * pt.c (make_auto_1): Use input_location rather than BUILTINS_LOCATION. Date: Mon, 16 Sep 2013 08:17:41 +0100 Message-Id: <1379315863-22416-1-git-send-email-adam@jessamine.co.uk> --- gcc/cp/pt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/cp/pt.c b/gcc/cp/pt.c index 2ef160a..ed08dca 100644 --- a/gcc/cp/pt.c +++ b/gcc/cp/pt.c @@ -21041,7 +21041,7 @@ static tree make_auto_1 (tree name) { tree au = cxx_make_type (TEMPLATE_TYPE_PARM); - TYPE_NAME (au) = build_decl (BUILTINS_LOCATION, + TYPE_NAME (au) = build_decl (input_location, TYPE_DECL, name, au); TYPE_STUB_DECL (au) = TYPE_NAME (au); TEMPLATE_TYPE_PARM_INDEX (au) = build_template_parm_index