aboutsummaryrefslogtreecommitdiff
path: root/gcc/toplev.c
diff options
context:
space:
mode:
authorRichard Henderson <rth@cygnus.com>2000-03-20 14:52:04 -0800
committerRichard Henderson <rth@gcc.gnu.org>2000-03-20 14:52:04 -0800
commit9e11785b7ca8a566d2caa154530d416bda7da2ec (patch)
treec72f960fd860511bb5a9ff145b513ffeded56927 /gcc/toplev.c
parente245d3af6fd6a1362cc83eff738b2a59a3c636cc (diff)
downloadgcc-9e11785b7ca8a566d2caa154530d416bda7da2ec.zip
gcc-9e11785b7ca8a566d2caa154530d416bda7da2ec.tar.gz
gcc-9e11785b7ca8a566d2caa154530d416bda7da2ec.tar.bz2
regmove.c (stack_memref_p): Fix typo, reorg for readability.
* regmove.c (stack_memref_p): Fix typo, reorg for readability. (combine_stack_adjustments_for_block): Don't allow sp references in the side of a set we're not fixing up. * toplev.c (rest_of_compilation): Run combine_stack_adjustments after life_analysis. From-SVN: r32654
Diffstat (limited to 'gcc/toplev.c')
-rw-r--r--gcc/toplev.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/gcc/toplev.c b/gcc/toplev.c
index f304144..bf6dce2 100644
--- a/gcc/toplev.c
+++ b/gcc/toplev.c
@@ -3555,17 +3555,16 @@ rest_of_compilation (decl)
if (optimize)
{
- TIMEVAR (flow2_time, { cleanup_cfg (insns); });
+ TIMEVAR (flow2_time,
+ {
+ cleanup_cfg (insns);
+ life_analysis (insns, max_reg_num (), rtl_dump_file, 1);
+ });
#ifndef ACCUMULATE_OUTGOING_ARGS
TIMEVAR (flow2_time, { combine_stack_adjustments (); });
#endif
- TIMEVAR (flow2_time,
- {
- life_analysis (insns, max_reg_num (), rtl_dump_file, 1);
- });
-
if (ggc_p)
ggc_collect ();
}