aboutsummaryrefslogtreecommitdiff
path: root/gcc/local-alloc.c
diff options
context:
space:
mode:
authorRichard Henderson <rth@cygnus.com>2000-01-06 12:25:41 -0800
committerRichard Henderson <rth@gcc.gnu.org>2000-01-06 12:25:41 -0800
commit9b15c17f0d2f223e09cebf99f47d0972d7568f9c (patch)
tree95bb033a85e24116b3efc6a96f5f1fa804c19191 /gcc/local-alloc.c
parent55ff3de705a71f1419d97123dac01f0c0950ca70 (diff)
downloadgcc-9b15c17f0d2f223e09cebf99f47d0972d7568f9c.zip
gcc-9b15c17f0d2f223e09cebf99f47d0972d7568f9c.tar.gz
gcc-9b15c17f0d2f223e09cebf99f47d0972d7568f9c.tar.bz2
flow.c (mark_set_1): Use loop_depth+1 as reference weight.
* flow.c (mark_set_1): Use loop_depth+1 as reference weight. (find_auto_inc, mark_used_regs, try_pre_increment_1): Likewise. (count_reg_sets_1, count_reg_references): Likewise. (flow_loops_level_compute): Start counting actual loop depth at 1. (flow_loops_find): Likewise. * local-alloc.c (update_equiv_regs): Likewise. * regclass.c (regclass): Re-instate Jan 4 0-based loop_depth change. From-SVN: r31259
Diffstat (limited to 'gcc/local-alloc.c')
-rw-r--r--gcc/local-alloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/local-alloc.c b/gcc/local-alloc.c
index 171b13a..70e1ecc 100644
--- a/gcc/local-alloc.c
+++ b/gcc/local-alloc.c
@@ -679,7 +679,7 @@ update_equiv_regs ()
init_alias_analysis ();
- loop_depth = 1;
+ loop_depth = 0;
/* Scan the insns and find which registers have equivalences. Do this
in a separate scan of the insns because (due to -fcse-follow-jumps)