jump.c (jump_optimize_1): Don't increment LABEL_NUSES on deleted labels.
* jump.c (jump_optimize_1): Don't increment LABEL_NUSES on deleted labels. From-SVN: r34094
This commit is contained in:
parent
d171a5fbab
commit
46972a3631
2 changed files with 7 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
Mon May 22 11:30:48 2000 Clinton Popetz <cpopetz@cygnus.com>
|
||||
|
||||
* jump.c (jump_optimize_1): Don't increment LABEL_NUSES
|
||||
on deleted labels.
|
||||
|
||||
2000-05-22 Zack Weinberg <zack@wolery.cumb.org>
|
||||
|
||||
* varasm.c (eh_frame_section): Revert change to argument list.
|
||||
|
|
|
@ -245,7 +245,8 @@ jump_optimize_1 (f, cross_jump, noop_moves, after_regscan,
|
|||
regions; they cannot usually be deleted. */
|
||||
|
||||
for (insn = exception_handler_labels; insn; insn = XEXP (insn, 1))
|
||||
LABEL_NUSES (XEXP (insn, 0))++;
|
||||
if (GET_CODE (XEXP (insn, 0)) == CODE_LABEL)
|
||||
LABEL_NUSES (XEXP (insn, 0))++;
|
||||
|
||||
/* Quit now if we just wanted to rebuild the JUMP_LABEL and REG_LABEL
|
||||
notes and recompute LABEL_NUSES. */
|
||||
|
|
Loading…
Add table
Reference in a new issue