]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
re PR rtl-optimization/60601 (profiledbootstrap fails with Ada)
authorEric Botcazou <ebotcazou@adacore.com>
Sun, 23 Mar 2014 11:31:36 +0000 (11:31 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Sun, 23 Mar 2014 11:31:36 +0000 (11:31 +0000)
PR rtl-optimization/60601
* bb-reorder.c (fix_up_fall_thru_edges): Test EDGE_FALLTHRU everywhere.

From-SVN: r208772

gcc/ChangeLog
gcc/bb-reorder.c

index 08484ca96d04544bed17ff664c625e341da8af20..36ec2a5eb9bb76690c790533794606aa4a4bc1dc 100644 (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
index a35b8e62942be478dfea5f9d79921578f3b7be83..2ab2a910b577f6a8949828c7e480ffa9c33937f1 100644 (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;