diff options
author | Jeff Law <law@gcc.gnu.org> | 2001-11-19 14:51:53 -0700 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 2001-11-19 14:51:53 -0700 |
commit | 419fef71cbe7c562b50e1561a2ea250996d7785b (patch) | |
tree | 7c2bc5cf541adc348efa0814b723ca1710dec591 | |
parent | 3293c3e3f52424675063f2597769273c02add26e (diff) | |
download | gcc-419fef71cbe7c562b50e1561a2ea250996d7785b.zip gcc-419fef71cbe7c562b50e1561a2ea250996d7785b.tar.gz gcc-419fef71cbe7c562b50e1561a2ea250996d7785b.tar.bz2 |
gcse.c (cprop_jump): Clear JUMP_LABEL field when we create a nop-jump.
* gcse.c (cprop_jump): Clear JUMP_LABEL field when we create
a nop-jump.
From-SVN: r47183
-rw-r--r-- | gcc/ChangeLog | 7 | ||||
-rw-r--r-- | gcc/gcse.c | 5 |
2 files changed, 10 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c909c1c..58d47b0 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,4 +1,9 @@ -2001-11-19 Neil Booth <neil@daikokuya.demon.co.uk> +2001-11-19 Jeff Law <law@redhat.com> + + * gcse.c (cprop_jump): Clear JUMP_LABEL field when we create + a nop-jump. + +2000-11-19 Neil Booth <neil@daikokuya.demon.co.uk> * cppmacro.c (_cpp_backup_tokens): Revert previous check-in. Don't fall off the base token run. @@ -4043,7 +4043,10 @@ cprop_jump (bb, insn, from, src) SET_SRC (set) = new; if (JUMP_LABEL (insn) != 0) - --LABEL_NUSES (JUMP_LABEL (insn)); + { + --LABEL_NUSES (JUMP_LABEL (insn)); + JUMP_LABEL (insn) = NULL_RTX; + } } /* Otherwise, this must be a valid instruction. */ |