diff options
author | Eric Botcazou <ebotcazou@adacore.com> | 2011-06-02 21:52:46 +0000 |
---|---|---|
committer | Eric Botcazou <ebotcazou@adacore.com> | 2011-06-02 21:52:46 +0000 |
commit | c36afdc0a8aeb083b13b28b354bb936943e75a8c (patch) | |
tree | c51807484f6834435dd02de83e9b094a6ed92fe2 /gcc/cse.c | |
parent | 7ba4752614a07d7cc3b58308010d80cbc1b92ea3 (diff) |
2011-06-02 Eric Botcazou <ebotcazou@adacore.com>
* cse.c (cse_find_path): Refine change to exclude EDGE_ABNORMAL_CALL
edges only, when there is a non-local label in the function.
* postreload-gcse.c (bb_has_well_behaved_predecessors): Likewise.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@174585 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cse.c')
-rw-r--r-- | gcc/cse.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cse.c b/gcc/cse.c index 5e2b4d83dc5..cfa2b00216c 100644 --- a/gcc/cse.c +++ b/gcc/cse.c @@ -6193,7 +6193,7 @@ cse_find_path (basic_block first_bb, struct cse_basic_block_data *data, e = NULL; if (e - && (e->flags & EDGE_ABNORMAL) == 0 + && !((e->flags & EDGE_ABNORMAL_CALL) && cfun->has_nonlocal_label) && e->dest != EXIT_BLOCK_PTR && single_pred_p (e->dest) /* Avoid visiting basic blocks twice. The large comment |