diff options
author | Josef Zlomek <zlomekj@suse.cz> | 2003-01-27 12:30:35 +0100 |
---|---|---|
committer | Josef Zlomek <zlomek@gcc.gnu.org> | 2003-01-27 11:30:35 +0000 |
commit | 244d05fb87c29bd539630243bef9b1d0be00fcf2 (patch) | |
tree | cd6f655aa2d298497210c849135717efba4c44d7 | |
parent | 90a2176452bd595f55910533693377a117008196 (diff) | |
download | gcc-244d05fb87c29bd539630243bef9b1d0be00fcf2.zip gcc-244d05fb87c29bd539630243bef9b1d0be00fcf2.tar.gz gcc-244d05fb87c29bd539630243bef9b1d0be00fcf2.tar.bz2 |
* gcse.c (constprop_register): Check NEXT_INSN (insn) != NULL.
From-SVN: r61884
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/gcse.c | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index f1b1152..009fc55 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2003-01-27 Josef Zlomek <zlomekj@suse.cz> + + * gcse.c (constprop_register): Check NEXT_INSN (insn) != NULL. + 2003-01-27 Richard Earnshaw <rearnsha@arm.com> PR optimization/9090 @@ -4126,6 +4126,7 @@ constprop_register (insn, from, to, alter_jumps) conditional branch instructions first. */ if (alter_jumps && (sset = single_set (insn)) != NULL + && NEXT_INSN (insn) && any_condjump_p (NEXT_INSN (insn)) && onlyjump_p (NEXT_INSN (insn))) { rtx dest = SET_DEST (sset); |