From: Eric Botcazou Date: Sun, 23 Mar 2014 11:31:36 +0000 (+0000) Subject: re PR rtl-optimization/60601 (profiledbootstrap fails with Ada) X-Git-Tag: releases/gcc-4.7.4~179 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0aedbdc4b57e546b6d644560f62bc00d79a1ea0b;p=thirdparty%2Fgcc.git re PR rtl-optimization/60601 (profiledbootstrap fails with Ada) PR rtl-optimization/60601 * bb-reorder.c (fix_up_fall_thru_edges): Test EDGE_FALLTHRU everywhere. From-SVN: r208772 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 08484ca96d04..36ec2a5eb9bb 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2014-03-23 Eric Botcazou + + PR rtl-optimization/60601 + * bb-reorder.c (fix_up_fall_thru_edges): Test EDGE_FALLTHRU everywhere. + 2014-03-20 Jakub Jelinek PR target/60568 diff --git a/gcc/bb-reorder.c b/gcc/bb-reorder.c index a35b8e62942b..2ab2a910b577 100644 --- a/gcc/bb-reorder.c +++ b/gcc/bb-reorder.c @@ -1478,9 +1478,8 @@ fix_up_fall_thru_edges (void) edge e; edge_iterator ei; - /* Find EDGE_CAN_FALLTHRU edge. */ FOR_EACH_EDGE (e, ei, cur_bb->succs) - if (e->flags & EDGE_CAN_FALLTHRU) + if (e->flags & EDGE_FALLTHRU) { fall_thru = e; break;