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
This commit is contained in:
Eric Botcazou 2014-03-23 11:31:36 +00:00 committed by Eric Botcazou
parent 3870dbeb04
commit 0aedbdc4b5
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2014-03-23 Eric Botcazou <ebotcazou@adacore.com>
PR rtl-optimization/60601
* bb-reorder.c (fix_up_fall_thru_edges): Test EDGE_FALLTHRU everywhere.
2014-03-20 Jakub Jelinek <jakub@redhat.com>
PR target/60568

View File

@ -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;