* gcse.c (constprop_register): Check NEXT_INSN (insn) != NULL.
From-SVN: r61884
This commit is contained in:
parent
90a2176452
commit
244d05fb87
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user