From patchwork Mon Jul 6 20:55:25 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nathan Sidwell X-Patchwork-Id: 491828 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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 10EB514029D for ; Tue, 7 Jul 2015 06:55:38 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b=dz+MTS5R; dkim-atps=neutral DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender :message-id:date:from:mime-version:to:subject:content-type; q= dns; s=default; b=uuyZLTpfBg5/RB5RWN0cw6SRXkeYQJAq2Dt5ZNxUCuYq6y uVLO2DRfYB4cC3q7ihxWFcLohypVKzunB9S4/MTRTaMFbC1UL9CeHHfzP8NhH7X2 EF7eJAPdh/vnfMKvO8pLsHP90+cH3tmvS4qjuHjmevWNVeoR+hs7ZCiL0E4Pc= 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 :message-id:date:from:mime-version:to:subject:content-type; s= default; bh=GmeJfmryzrbxfRZO1PjPsCzHvMY=; b=dz+MTS5RRXRv3JsRGe3R MwrukmYIlXRZ3oJMpcJlmKlS0YLSpuXTfNHllEy2OSQgLwyE52xXqXVRqzc8akTR d8ypOlVqwAsmkWnFBMyBH64t5miNjoQHVock8uxl2mcB1zdFiVb1BE71ZZldWsGz xlhQl7dmEQRZFGIdPr861go= Received: (qmail 130076 invoked by alias); 6 Jul 2015 20:55:31 -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 130063 invoked by uid 89); 6 Jul 2015 20:55:30 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=0.1 required=5.0 tests=BAYES_50, FREEMAIL_FROM, RCVD_IN_DNSWL_LOW, SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-qk0-f181.google.com Received: from mail-qk0-f181.google.com (HELO mail-qk0-f181.google.com) (209.85.220.181) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Mon, 06 Jul 2015 20:55:29 +0000 Received: by qkhu186 with SMTP id u186so126492754qkh.0 for ; Mon, 06 Jul 2015 13:55:27 -0700 (PDT) X-Received: by 10.140.98.238 with SMTP id o101mr1460697qge.12.1436216127570; Mon, 06 Jul 2015 13:55:27 -0700 (PDT) Received: from ?IPv6:2601:19b:400:a983:a2a8:cdff:fe3e:b48? ([2601:19b:400:a983:a2a8:cdff:fe3e:b48]) by mx.google.com with ESMTPSA id q4sm9960397qkq.33.2015.07.06.13.55.26 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 06 Jul 2015 13:55:26 -0700 (PDT) Message-ID: <559AEB3D.607@acm.org> Date: Mon, 06 Jul 2015 16:55:25 -0400 From: Nathan Sidwell User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: Bernd Schmidt , GCC Patches Subject: Fix some ptx breakage I'd somehow managed to break the ptx build for trunk when merging my reorg cleanup. Fixed thusly (applied as obvious). nathan 2015-07-06 Nathan Sidwell * config/nvptx/nvptx.c (nvptx_reorg): Remove unused vars. Fix call to nvptx_reorg_subreg. Index: config/nvptx/nvptx.c =================================================================== --- config/nvptx/nvptx.c (revision 225474) +++ config/nvptx/nvptx.c (working copy) @@ -1969,9 +1969,6 @@ nvptx_reorg_subreg (void) static void nvptx_reorg (void) { - struct reg_replace qiregs, hiregs, siregs, diregs; - rtx_insn *insn, *next; - /* We are freeing block_for_insn in the toplev to keep compatibility with old MDEP_REORGS that are not CFG based. Recompute it now. */ compute_bb_for_insn (); @@ -1991,7 +1988,7 @@ nvptx_reorg (void) regno_reg_rtx[i] = const0_rtx; /* Replace subregs. */ - nvptx_reorg_subreg (max_regs); + nvptx_reorg_subreg (); regstat_free_n_sets_and_refs ();