aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorNathan Sidwell <nathan@codesourcery.com>2015-07-06 20:53:34 +0000
committerNathan Sidwell <nathan@gcc.gnu.org>2015-07-06 20:53:34 +0000
commitc03b04168e26e2dc01dae64e84c461a621130130 (patch)
treef4ee1a739b7b2bf52ddefc316b79e3aaef57735c /gcc
parent766a1e55d9498d4456a325c4a286c630a239aff4 (diff)
downloadgcc-c03b04168e26e2dc01dae64e84c461a621130130.zip
gcc-c03b04168e26e2dc01dae64e84c461a621130130.tar.gz
gcc-c03b04168e26e2dc01dae64e84c461a621130130.tar.bz2
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
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/nvptx/nvptx.c5
2 files changed, 6 insertions, 4 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index b5d6041..fbbdbd7 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2015-07-06 Nathan Sidwell <nathan@codesourcery.com>
+
+ * config/nvptx/nvptx.c (nvptx_reorg): Remove unused vars. Fix
+ call to nvptx_reorg_subreg.
+
2015-07-06 Jim Wilson <jim.wilson@linaro.org>
* graphite-blocking.c (HAVE_isl): Include <stddef.h>.
diff --git a/gcc/config/nvptx/nvptx.c b/gcc/config/nvptx/nvptx.c
index 3d6315a..3e8ab51 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 ();