diff options
Diffstat (limited to 'gcc')
-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); |