Commit 3d0ec3b3 by Richard Henderson Committed by Jeff Law

* reload1.c (emit_reload_insns): Check `set' not null before use.

From-SVN: r24399
parent 57057b67
Tue Dec 22 23:58:31 1998 Richard Henderson <rth@cygnus.com>
* reload1.c (emit_reload_insns): Check `set' not null before use.
Tue Dec 22 15:15:45 1998 Nick Clifton <nickc@cygnus.com> Tue Dec 22 15:15:45 1998 Nick Clifton <nickc@cygnus.com>
* rtlanal.c (multiple_sets): Change type of 'found' from 'rtx' to * rtlanal.c (multiple_sets): Change type of 'found' from 'rtx' to
......
...@@ -7507,7 +7507,7 @@ emit_reload_insns (chain) ...@@ -7507,7 +7507,7 @@ emit_reload_insns (chain)
if (! src_reg) if (! src_reg)
{ {
rtx set = single_set (insn); rtx set = single_set (insn);
if (SET_DEST (set) == reload_out[r]) if (set && SET_DEST (set) == reload_out[r])
{ {
int k; int k;
......
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