summaryrefslogtreecommitdiff
path: root/gcc/cfgloop.h
diff options
context:
space:
mode:
authorZdenek Dvorak <ook@ucw.cz>2007-08-01 13:39:31 +0200
committerZdenek Dvorak <rakdver@gcc.gnu.org>2007-08-01 11:39:31 +0000
commit592c303da820745055bf6fd1521e2b2bf1318652 (patch)
tree589e7c2e94dc0f61c32b953370ab9b08162f79ad /gcc/cfgloop.h
parent46cb04410da4ba4fa10070a0eec7a037ff6152a7 (diff)
downloadgcc-592c303da820745055bf6fd1521e2b2bf1318652.tar.gz
tree-ssa-threadupdate.c (thread_through_all_blocks): Record that the loop structures may need fixing.
* 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. From-SVN: r127118
Diffstat (limited to 'gcc/cfgloop.h')
-rw-r--r--gcc/cfgloop.h3
1 files changed, 2 insertions, 1 deletions
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 \