re PR bootstrap/54128 (GCC does not bootstrap on little endian mips due to mis-compare on tree-data-ref.c)

2012-12-21  Steve Ellcey  <sellcey@mips.com>

	PR bootstrap/54128
	* ira.c (build_insn_chain): Check only NONDEBUG instructions for
	register usage.

From-SVN: r194676
This commit is contained in:
Steve Ellcey 2012-12-21 18:54:00 +00:00 committed by Steve Ellcey
parent 2d7b050001
commit 4b71920ab6
2 changed files with 8 additions and 2 deletions

View file

@ -1,3 +1,9 @@
2012-12-21 Steve Ellcey <sellcey@mips.com>
PR bootstrap/54128
* ira.c (build_insn_chain): Check only NONDEBUG instructions for
register usage.
2012-12-21 David Edelsohn <dje.gcc@gmail.com>
* varasm.c (bss_initializer_p): Remove static.

View file

@ -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;