mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-22 13:30:37 +08:00
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
This commit is contained in:
parent
3293c3e3f5
commit
419fef71cb
@ -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. */
|
||||
|
Loading…
Reference in New Issue
Block a user