aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJeffrey A Law <law@cygnus.com>1999-02-13 23:47:23 +0000
committerJeff Law <law@gcc.gnu.org>1999-02-13 16:47:23 -0700
commit9f4ec51572132a0ab2d4d777198d716ce24090bf (patch)
treec51efd514c5209215a67c005eee6b59381c235e1 /gcc
parentba12c883e6cb5151c692ca0fc9e4f27400081206 (diff)
downloadgcc-9f4ec51572132a0ab2d4d777198d716ce24090bf.zip
gcc-9f4ec51572132a0ab2d4d777198d716ce24090bf.tar.gz
gcc-9f4ec51572132a0ab2d4d777198d716ce24090bf.tar.bz2
loop.c: Disable recent loop changes.
* loop.c: Disable recent loop changes. Temporary as Joern continues to fix problems. From-SVN: r25184
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/loop.c8
2 files changed, 10 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index a1a4630..21e8b1f 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+Sun Feb 14 00:45:50 1999 Jeffrey A Law (law@cygnus.com)
+
+ * loop.c: Disable recent loop changes. Temporary as Joern
+ continues to fix problems.
+
Sat Feb 13 23:29:42 1999 Richard Henderson <rth@cygnus.com>
* loop.c (combine_givs_used_by_other): Delete.
diff --git a/gcc/loop.c b/gcc/loop.c
index 080f393..3c8e890 100644
--- a/gcc/loop.c
+++ b/gcc/loop.c
@@ -4118,7 +4118,8 @@ strength_reduce (scan_start, end, loop_top, insn_count,
first_increment_giv = max_reg_num ();
for (n_extra_increment = 0, bl = loop_iv_list; bl; bl = bl->next)
n_extra_increment += bl->biv_count - 1;
- if (n_extra_increment)
+ /* XXX Temporary. */
+ if (0 && n_extra_increment)
{
int nregs = first_increment_giv + n_extra_increment;
@@ -4610,6 +4611,8 @@ strength_reduce (scan_start, end, loop_top, insn_count,
}
}
+#if 0
+ /* XXX Temporary. */
/* Now that we know which givs will be reduced, try to rearrange the
combinations to reduce register pressure.
recombine_givs calls find_life_end, which needs reg_iv_type and
@@ -4628,6 +4631,7 @@ strength_reduce (scan_start, end, loop_top, insn_count,
VARRAY_GROW (reg_iv_info, nregs);
}
recombine_givs (bl, loop_start, loop_end, unroll_p);
+#endif
/* Reduce each giv that we decided to reduce. */
@@ -8838,7 +8842,6 @@ insert_bct (loop_start, loop_end, loop_info)
int i;
unsigned HOST_WIDE_INT n_iterations;
-#if 0
int increment_direction, compare_direction;
/* If the loop condition is <= or >=, the number of iteration
@@ -8846,7 +8849,6 @@ insert_bct (loop_start, loop_end, loop_info)
int add_iteration = 0;
enum machine_mode loop_var_mode = word_mode;
-#endif
int loop_num = uid_loop_num [INSN_UID (loop_start)];