Commit d49256bb by Richard Henderson Committed by Richard Henderson

* jump.c (jump_optimize_1): Revert last change.

From-SVN: r30561
parent 1e25de97
Wed Nov 17 16:38:32 1999 Richard Henderson <rth@cygnus.com>
* jump.c (jump_optimize_1): Revert last change.
Wed Nov 17 15:18:30 1999 Richard Henderson <rth@cygnus.com> Wed Nov 17 15:18:30 1999 Richard Henderson <rth@cygnus.com>
* jump.c (jump_optimize_1): Don't try to duplicate the loop exit * jump.c (jump_optimize_1): Don't try to duplicate the loop exit
......
...@@ -319,12 +319,8 @@ jump_optimize_1 (f, cross_jump, noop_moves, after_regscan, mark_labels_only) ...@@ -319,12 +319,8 @@ jump_optimize_1 (f, cross_jump, noop_moves, after_regscan, mark_labels_only)
/* See if this is a NOTE_INSN_LOOP_BEG followed by an unconditional /* See if this is a NOTE_INSN_LOOP_BEG followed by an unconditional
jump. Try to optimize by duplicating the loop exit test if so. jump. Try to optimize by duplicating the loop exit test if so.
This is only safe immediately after regscan, because it uses This is only safe immediately after regscan, because it uses
the values of regno_first_uid and regno_last_uid. Don't do this the values of regno_first_uid and regno_last_uid. */
if optimizing for size. */ if (after_regscan && GET_CODE (insn) == NOTE
if (! optimize_size
&& after_regscan
&& GET_CODE (insn) == NOTE
&& NOTE_LINE_NUMBER (insn) == NOTE_INSN_LOOP_BEG && NOTE_LINE_NUMBER (insn) == NOTE_INSN_LOOP_BEG
&& (temp1 = next_nonnote_insn (insn)) != 0 && (temp1 = next_nonnote_insn (insn)) != 0
&& simplejump_p (temp1)) && simplejump_p (temp1))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment