From: Bernd Schmidt Date: Tue, 10 Jul 2001 14:57:13 +0000 (+0000) Subject: Correct branch/fallthru edge detection X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=fd052ec3781b16f6666f268df9a809a146e98723;p=gcc.git Correct branch/fallthru edge detection From-SVN: r43902 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index cab7700d839..02a6f61c185 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2001-07-10 Bernd Schmidt + + * bb-reorder.c (make_reorder_chain_1): Correct branch/fallthru + edge detection. + Tue Jul 10 07:27:53 2001 Richard Kenner * expr.c (expand_expr, case COMPONENT_REF): Don't force using bitfield diff --git a/gcc/bb-reorder.c b/gcc/bb-reorder.c index e13e5f14485..a6534d809db 100644 --- a/gcc/bb-reorder.c +++ b/gcc/bb-reorder.c @@ -409,7 +409,7 @@ make_reorder_chain_1 (bb, prev) { if (e->flags & EDGE_FALLTHRU) e_fall = e; - if (! (e->flags & EDGE_EH)) + else if (! (e->flags & EDGE_EH)) e_taken = e; }