diff options
| author | geoffk <geoffk@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-08-23 05:32:09 +0000 |
|---|---|---|
| committer | geoffk <geoffk@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-08-23 05:32:09 +0000 |
| commit | 1d9f44baafb69c523f4c6e0eae7be5581efedf4c (patch) | |
| tree | 554779e5c62adaa39a042cd10dd85f5c3711f25f /gcc | |
| parent | 7b9744b273c54d9e735a7c34994a440e206c4186 (diff) | |
| download | ppe42-gcc-1d9f44baafb69c523f4c6e0eae7be5581efedf4c.tar.gz ppe42-gcc-1d9f44baafb69c523f4c6e0eae7be5581efedf4c.zip | |
* reload1.c (emit_reload_insns): Don't look for notes
on a NULL store_insn.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45120 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
| -rw-r--r-- | gcc/ChangeLog | 5 | ||||
| -rw-r--r-- | gcc/reload1.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 827c958baef..f92e69b1529 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +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> * sparc.c (uns_small_int): Don't reference a constant >32-bit. diff --git a/gcc/reload1.c b/gcc/reload1.c index f9fc5287a1f..51a2ba90f9b 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) { |

