Commit 1558b970 by Geoffrey Keating Committed by Geoffrey Keating

reload1.c (emit_reload_insns): Don't look for notes on a NULL store_insn.

	* reload1.c (emit_reload_insns): Don't look for notes
	on a NULL store_insn.

From-SVN: r45120
parent 0bab15bb
2001-08-22 Geoffrey Keating <geoffk@redhat.com>
* reload1.c (emit_reload_insns): Don't look for notes
on a NULL store_insn.
2001-08-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> 2001-08-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* sparc.c (uns_small_int): Don't reference a constant >32-bit. * sparc.c (uns_small_int): Don't reference a constant >32-bit.
......
...@@ -7288,7 +7288,7 @@ emit_reload_insns (chain) ...@@ -7288,7 +7288,7 @@ emit_reload_insns (chain)
necessarily checked exactly in the code that moves necessarily checked exactly in the code that moves
notes, so just check both locations. */ notes, so just check both locations. */
rtx note = find_regno_note (insn, REG_DEAD, src_regno); rtx note = find_regno_note (insn, REG_DEAD, src_regno);
if (! note) if (! note && store_insn)
note = find_regno_note (store_insn, REG_DEAD, src_regno); note = find_regno_note (store_insn, REG_DEAD, src_regno);
while (nr-- > 0) while (nr-- > 0)
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment