aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Henderson <rth@cygnus.com>1999-11-17 16:39:00 -0800
committerRichard Henderson <rth@gcc.gnu.org>1999-11-17 16:39:00 -0800
commitd49256bbdfe06401b11e1c3246c2f0d6e2096089 (patch)
tree6312de0d6ad477ade0811de25c60d14056915251 /gcc
parent1e25de97de253571a3178440a3e77dbcb193a360 (diff)
downloadgcc-d49256bbdfe06401b11e1c3246c2f0d6e2096089.zip
gcc-d49256bbdfe06401b11e1c3246c2f0d6e2096089.tar.gz
gcc-d49256bbdfe06401b11e1c3246c2f0d6e2096089.tar.bz2
* jump.c (jump_optimize_1): Revert last change.
From-SVN: r30561
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/jump.c8
2 files changed, 6 insertions, 6 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 5d50e5e..0295d7c 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+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>
* jump.c (jump_optimize_1): Don't try to duplicate the loop exit
diff --git a/gcc/jump.c b/gcc/jump.c
index dd8aaea..2020840 100644
--- a/gcc/jump.c
+++ b/gcc/jump.c
@@ -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
jump. Try to optimize by duplicating the loop exit test if so.
This is only safe immediately after regscan, because it uses
- the values of regno_first_uid and regno_last_uid. Don't do this
- if optimizing for size. */
-
- if (! optimize_size
- && after_regscan
- && GET_CODE (insn) == NOTE
+ the values of regno_first_uid and regno_last_uid. */
+ if (after_regscan && GET_CODE (insn) == NOTE
&& NOTE_LINE_NUMBER (insn) == NOTE_INSN_LOOP_BEG
&& (temp1 = next_nonnote_insn (insn)) != 0
&& simplejump_p (temp1))