diff options
author | sje <sje@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-12-21 18:54:00 +0000 |
---|---|---|
committer | sje <sje@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-12-21 18:54:00 +0000 |
commit | 4680389eb0e82c9cd4e82ff33c9fce72a34b2b1e (patch) | |
tree | 1d6c41804f47ee72e9edab79002da9e8bd6b23d0 /gcc/ira.c | |
parent | 35f719486dc3060e599d0b147ff6486f1e03d5b2 (diff) | |
download | gcc-4680389eb0e82c9cd4e82ff33c9fce72a34b2b1e.tar.gz |
2012-12-21 Steve Ellcey <sellcey@mips.com>
PR bootstrap/54128
* ira.c (build_insn_chain): Check only NONDEBUG instructions for
register usage.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@194676 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ira.c')
-rw-r--r-- | gcc/ira.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/ira.c b/gcc/ira.c index f0cbd6dc72e..0fa5b389591 100644 --- a/gcc/ira.c +++ b/gcc/ira.c @@ -3563,7 +3563,7 @@ build_insn_chain (void) c->insn = insn; c->block = bb->index; - if (INSN_P (insn)) + if (NONDEBUG_INSN_P (insn)) for (def_rec = DF_INSN_UID_DEFS (uid); *def_rec; def_rec++) { df_ref def = *def_rec; @@ -3654,7 +3654,7 @@ build_insn_chain (void) bitmap_and_compl_into (live_relevant_regs, elim_regset); bitmap_copy (&c->live_throughout, live_relevant_regs); - if (INSN_P (insn)) + if (NONDEBUG_INSN_P (insn)) for (use_rec = DF_INSN_UID_USES (uid); *use_rec; use_rec++) { df_ref use = *use_rec; |