diff options
Diffstat (limited to 'gcc/cfghooks.c')
-rw-r--r-- | gcc/cfghooks.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gcc/cfghooks.c b/gcc/cfghooks.c index ac37d3adb16..a91e0484964 100644 --- a/gcc/cfghooks.c +++ b/gcc/cfghooks.c @@ -630,7 +630,10 @@ tidy_fallthru_edges (void) if ((s = b->succ) != NULL && ! (s->flags & EDGE_COMPLEX) && s->succ_next == NULL - && s->dest == c) + /* APPLE LOCAL begin hot/cold partitioning */ + && s->dest == c + && !find_reg_note (BB_END (b), REG_CROSSING_JUMP, NULL_RTX)) + /* APPLE LOCAL end hot/cold partitioning */ tidy_fallthru_edge (s); } } |