From eb2a640e7c511969c6f6c11331dfeb2f9d913cda Mon Sep 17 00:00:00 2001 From: rakdver Date: Wed, 1 Aug 2007 11:39:31 +0000 Subject: * tree-ssa-threadupdate.c (thread_through_all_blocks): Record that the loop structures may need fixing. * tree-cfgcleanup.c (cleanup_tree_cfg_noloop, repair_loop_structures): New functions. (cleanup_tree_cfg_loop): Removed. (cleanup_tree_cfg): If loops need fixing, call repair_loop_structures. * tree-predcom.c (tree_predictive_commoning): Return TODO_cleanup_cfg instead of running cleanup_tree_cfg_loop. * cfgloop.h (LOOPS_NEED_FIXUP): New constant. * tree-flow.h (cleanup_tree_cfg_loop): Declaration removed. (tree_predictive_commoning): Declaration changed. * passes.c (execute_function_todo): Do not use cleanup_tree_cfg_loop. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@127118 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/cfgloop.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'gcc/cfgloop.h') diff --git a/gcc/cfgloop.h b/gcc/cfgloop.h index b1ec4b52141..903672dfcf9 100644 --- a/gcc/cfgloop.h +++ b/gcc/cfgloop.h @@ -170,7 +170,8 @@ enum LOOPS_HAVE_MARKED_IRREDUCIBLE_REGIONS = 4, LOOPS_HAVE_RECORDED_EXITS = 8, LOOPS_MAY_HAVE_MULTIPLE_LATCHES = 16, - LOOP_CLOSED_SSA = 32 + LOOP_CLOSED_SSA = 32, + LOOPS_NEED_FIXUP = 64 }; #define LOOPS_NORMAL (LOOPS_HAVE_PREHEADERS | LOOPS_HAVE_SIMPLE_LATCHES \ -- cgit v1.2.1