summaryrefslogtreecommitdiff
path: root/gcc/sibcall.c
diff options
context:
space:
mode:
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>2001-07-29 17:01:53 +0000
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>2001-07-29 17:01:53 +0000
commit4d1f4307480c700e251e01b4931f8935db4a04cc (patch)
treeea95e3e09027651222c04624fd31922365dd2cc8 /gcc/sibcall.c
parent32713c6adc863840a8c30eac0a2959cfae72358f (diff)
downloadgcc-4d1f4307480c700e251e01b4931f8935db4a04cc.tar.gz
* basic-block.h (CLEANUP_PRE_LOOP): New.
* except.c (finish_eh_generation): Update call of cleanup_cfg. * sibcall.c (optimize_sibling_calls): Likewise. * toplev.c (rest_of_compilation): Likewise. * flow.c (try_forward_edges): Take argument MODE; do not forward over loop pre-headers if CLEANUP_PRE_LOOP. (try_optimize_cfg): Update call of try_forward_edges. * (validate_replace_rtx_1): Fix simplification of MINUS. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44458 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/sibcall.c')
-rw-r--r--gcc/sibcall.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/sibcall.c b/gcc/sibcall.c
index 1203e684234..1e3be76efe7 100644
--- a/gcc/sibcall.c
+++ b/gcc/sibcall.c
@@ -569,7 +569,7 @@ optimize_sibling_and_tail_recursive_calls ()
/* We need cfg information to determine which blocks are succeeded
only by the epilogue. */
find_basic_blocks (insns, max_reg_num (), 0);
- cleanup_cfg (CLEANUP_PRE_SIBCALL);
+ cleanup_cfg (CLEANUP_PRE_SIBCALL | CLEANUP_PRE_LOOP);
/* If there are no basic blocks, then there is nothing to do. */
if (n_basic_blocks == 0)