nvptx.c (nvptx_reorg): Remove unused vars.
authorNathan Sidwell <nathan@codesourcery.com>
Mon, 6 Jul 2015 20:53:34 +0000 (20:53 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Mon, 6 Jul 2015 20:53:34 +0000 (20:53 +0000)
* config/nvptx/nvptx.c (nvptx_reorg): Remove unused vars.  Fix
call to nvptx_reorg_subreg.

From-SVN: r225481

gcc/ChangeLog
gcc/config/nvptx/nvptx.c

index b5d6041..fbbdbd7 100644 (file)
@@ -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>.
index 3d6315a..3e8ab51 100644 (file)
@@ -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 ();