From c03b04168e26e2dc01dae64e84c461a621130130 Mon Sep 17 00:00:00 2001 From: Nathan Sidwell Date: Mon, 6 Jul 2015 20:53:34 +0000 Subject: [PATCH] nvptx.c (nvptx_reorg): Remove unused vars. * config/nvptx/nvptx.c (nvptx_reorg): Remove unused vars. Fix call to nvptx_reorg_subreg. From-SVN: r225481 --- gcc/ChangeLog | 5 +++++ gcc/config/nvptx/nvptx.c | 5 +---- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index b5d604122de..fbbdbd76b01 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2015-07-06 Nathan Sidwell + + * config/nvptx/nvptx.c (nvptx_reorg): Remove unused vars. Fix + call to nvptx_reorg_subreg. + 2015-07-06 Jim Wilson * graphite-blocking.c (HAVE_isl): Include . diff --git a/gcc/config/nvptx/nvptx.c b/gcc/config/nvptx/nvptx.c index 3d6315a76b0..3e8ab51c4a3 100644 --- a/gcc/config/nvptx/nvptx.c +++ b/gcc/config/nvptx/nvptx.c @@ -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 (); -- 2.30.2