summaryrefslogtreecommitdiff
path: root/gcc/bb-reorder.c
diff options
context:
space:
mode:
authorebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>2014-03-23 11:29:42 +0000
committerebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>2014-03-23 11:29:42 +0000
commit13858b08126f9fcca95afe80477bd5cdff0acc1d (patch)
tree9b8b12ccfa42b297cf682e8aed3e487f71c2ab49 /gcc/bb-reorder.c
parent527e1750d5b840460db4ca05d2a79a00bacaca60 (diff)
downloadgcc-13858b08126f9fcca95afe80477bd5cdff0acc1d.tar.gz
PR rtl-optimization/60601
* bb-reorder.c (fix_up_fall_thru_edges): Test EDGE_FALLTHRU everywhere. * gcc.c (eval_spec_function): Initialize save_growing_value. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208770 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/bb-reorder.c')
-rw-r--r--gcc/bb-reorder.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/bb-reorder.c b/gcc/bb-reorder.c
index 3364d93fea2..fa6f62fbe68 100644
--- a/gcc/bb-reorder.c
+++ b/gcc/bb-reorder.c
@@ -1826,9 +1826,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;