aboutsummaryrefslogtreecommitdiff
path: root/gcc/loop.c
diff options
context:
space:
mode:
authorRichard Henderson <rth@gcc.gnu.org>1999-09-10 08:50:22 -0700
committerRichard Henderson <rth@gcc.gnu.org>1999-09-10 08:50:22 -0700
commit69ba6af33edee3f85b3e10b5838d7af24bf8dd9a (patch)
tree24e119b58e889caff12306c5a6f38931e8993941 /gcc/loop.c
parenta0d8bee96e17f6c63da6f2c33ccbe7392f6a120c (diff)
downloadgcc-69ba6af33edee3f85b3e10b5838d7af24bf8dd9a.zip
gcc-69ba6af33edee3f85b3e10b5838d7af24bf8dd9a.tar.gz
gcc-69ba6af33edee3f85b3e10b5838d7af24bf8dd9a.tar.bz2
loop.c (basic_induction_var): Typo NULL_RTX -> NULL.
* loop.c (basic_induction_var): Typo NULL_RTX -> NULL. (strength_reduce): Release the varrays from the no-bivs early exit. * reload1.c (order_regs_for_reload): Init hard_reg_n_uses before the loop over the registers. * tree.c (save_tree_status): Set maybepermanent_firstobj NULL for a new obstack. (restore_tree_status): Check that instead when freeing the obstack. From-SVN: r29270
Diffstat (limited to 'gcc/loop.c')
-rw-r--r--gcc/loop.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/gcc/loop.c b/gcc/loop.c
index 8ac169f..4025f7c 100644
--- a/gcc/loop.c
+++ b/gcc/loop.c
@@ -3926,7 +3926,7 @@ strength_reduce (scan_start, end, loop_top, insn_count,
unroll_loop (loop_end, insn_count, loop_start, end_insert_before,
loop_info, 0);
- return;
+ goto egress;
}
/* Find initial value for each biv by searching backwards from loop_start,
@@ -5225,6 +5225,8 @@ strength_reduce (scan_start, end, loop_top, insn_count,
if (loop_dump_stream)
fprintf (loop_dump_stream, "\n");
+
+egress:
VARRAY_FREE (reg_iv_type);
VARRAY_FREE (reg_iv_info);
}
@@ -6000,7 +6002,7 @@ basic_induction_var (x, mode, dest_reg, p, inc_val, mult_val, location)
rtx insn, set = 0;
code = GET_CODE (x);
- *location = NULL_RTX;
+ *location = NULL;
switch (code)
{
case PLUS: