* jump.c (jump_optimize_1): Don't increment LABEL_NUSES
on deleted labels.
From-SVN: r34094
+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.
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. */