diff options
author | Geoffrey Keating <geoffk@redhat.com> | 2001-08-23 05:32:09 +0000 |
---|---|---|
committer | Geoffrey Keating <geoffk@gcc.gnu.org> | 2001-08-23 05:32:09 +0000 |
commit | 1558b970d0f847158f7cb10cfb132074ba519cac (patch) | |
tree | 554779e5c62adaa39a042cd10dd85f5c3711f25f /gcc/reload1.c | |
parent | 0bab15bb705754d47b995767ff1e559ed52e8c10 (diff) | |
download | gcc-1558b970d0f847158f7cb10cfb132074ba519cac.zip gcc-1558b970d0f847158f7cb10cfb132074ba519cac.tar.gz gcc-1558b970d0f847158f7cb10cfb132074ba519cac.tar.bz2 |
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
Diffstat (limited to 'gcc/reload1.c')
-rw-r--r-- | gcc/reload1.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/reload1.c b/gcc/reload1.c index f9fc528..51a2ba9 100644 --- a/gcc/reload1.c +++ b/gcc/reload1.c @@ -7288,7 +7288,7 @@ emit_reload_insns (chain) necessarily checked exactly in the code that moves notes, so just check both locations. */ 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); while (nr-- > 0) { |