* Fix some ptx breakage
@ 2015-07-06 20:55 Nathan Sidwell
0 siblings, 0 replies; only message in thread
From: Nathan Sidwell @ 2015-07-06 20:55 UTC (permalink / raw)
To: Bernd Schmidt, GCC Patches
[-- Attachment #1: Type: text/plain, Size: 129 bytes --]
I'd somehow managed to break the ptx build for trunk when merging my reorg
cleanup. Fixed thusly (applied as obvious).
nathan
[-- Attachment #2: ptx-fix.patch --]
[-- Type: text/x-patch, Size: 875 bytes --]
2015-07-06 Nathan Sidwell <nathan@codesourcery.com>
* 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 ();
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2015-07-06 20:55 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-07-06 20:55 Fix some ptx breakage Nathan Sidwell
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).