aboutsummaryrefslogtreecommitdiff
path: root/gcc/toplev.c
diff options
context:
space:
mode:
authorJan Hubicka <hubicka@freesoft.cz>1999-12-15 15:17:59 +0100
committerJan Hubicka <hubicka@gcc.gnu.org>1999-12-15 14:17:59 +0000
commit35836a43fa532226b937874c1289439565f0cb74 (patch)
tree945b96b3dfced6c58fc828c818aca14d91a14035 /gcc/toplev.c
parentce4bbac71c009c87e902148838b7c4ef6f8be27b (diff)
downloadgcc-35836a43fa532226b937874c1289439565f0cb74.zip
gcc-35836a43fa532226b937874c1289439565f0cb74.tar.gz
gcc-35836a43fa532226b937874c1289439565f0cb74.tar.bz2
flow.c (calculate_loop_depth): Make global, remove prototype, rewrite to use new loop infrastructure.
* flow.c (calculate_loop_depth): Make global, remove prototype, rewrite to use new loop infrastructure. (find_basic_block): Remove calculate_loop_depth call. * toplev.c (rest_of_compilation): Call find_basic_block. * output.h (calculate_loop_depth): Declare. From-SVN: r30955
Diffstat (limited to 'gcc/toplev.c')
-rw-r--r--gcc/toplev.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/toplev.c b/gcc/toplev.c
index fbbbb64..dbe2706 100644
--- a/gcc/toplev.c
+++ b/gcc/toplev.c
@@ -4060,6 +4060,7 @@ rest_of_compilation (decl)
(flow_time,
{
find_basic_blocks (insns, max_reg_num (), rtl_dump_file, 1);
+ calculate_loop_depth (rtl_dump_file);
life_analysis (insns, max_reg_num (), rtl_dump_file, 1);
});