* jump.c (jump_optimize_1): Remove inactive but real insns
in jump-to-next-insn optimization.
From-SVN: r33966
+2000-05-17 Richard Henderson <rth@cygnus.com>
+
+ * jump.c (jump_optimize_1): Remove inactive but real insns
+ in jump-to-next-insn optimization.
+
2000-05-17 Richard Henderson <rth@cygnus.com>
* toplev.c (rest_of_compilation): Don't call optimize_mode_switching
{
next = next_real_insn (JUMP_LABEL (insn));
delete_jump (insn);
+
+ /* Remove the "inactive" but "real" insns (i.e. uses and
+ clobbers) in between here and there. */
+ temp = insn;
+ while ((temp = next_real_insn (temp)) != next)
+ delete_insn (temp);
+
changed = 1;
continue;
}