diff options
Diffstat (limited to 'gcc/cfghooks.c')
-rw-r--r-- | gcc/cfghooks.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gcc/cfghooks.c b/gcc/cfghooks.c index ac37d3adb16..6a93ecae7ae 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); } } @@ -771,3 +774,4 @@ flow_call_edges_add (sbitmap blocks) return (cfg_hooks->flow_call_edges_add) (blocks); } + |