aboutsummaryrefslogtreecommitdiff
path: root/gcc/flow.c
diff options
context:
space:
mode:
authorJohn Wehle <john@feith.com>1999-08-19 15:53:10 +0000
committerJohn Wehle <wehle@gcc.gnu.org>1999-08-19 15:53:10 +0000
commit7790df190afbe938f40506f1c75cfe7bef68496a (patch)
treeb5d7f5fb33fe1cfcee95d242ae0adb1d10bea2f1 /gcc/flow.c
parent4406229e16dd8ae08e135fdf156cc42e1baa6bf0 (diff)
downloadgcc-7790df190afbe938f40506f1c75cfe7bef68496a.zip
gcc-7790df190afbe938f40506f1c75cfe7bef68496a.tar.gz
gcc-7790df190afbe938f40506f1c75cfe7bef68496a.tar.bz2
alias.c: Include tree.h.
* alias.c: Include tree.h. (nonlocal_reference_p, mark_constant_function): New functions. * flow.c (life_analysis): Call mark_constant_function. * rtl.h (mark_constant_function): Declare it. From-SVN: r28762
Diffstat (limited to 'gcc/flow.c')
-rw-r--r--gcc/flow.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/flow.c b/gcc/flow.c
index c7ffe78..3d13baf 100644
--- a/gcc/flow.c
+++ b/gcc/flow.c
@@ -2087,7 +2087,12 @@ life_analysis (f, nregs, file, remove_dead_code)
/* We want alias analysis information for local dead store elimination. */
init_alias_analysis ();
+
life_analysis_1 (f, nregs, remove_dead_code);
+
+ if (! reload_completed)
+ mark_constant_function ();
+
end_alias_analysis ();
if (file)