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:
Jeff Law 2001-11-19 14:51:53 -07:00
parent 3293c3e3f5
commit 419fef71cb
2 changed files with 10 additions and 2 deletions

View File

@ -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.

View File

@ -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. */