Commit 9b7a11e1 by Eric Botcazou Committed by Eric Botcazou

* tree-cfg.c (make_edges) <GIMPLE_RETURN>: Put a location on the edge.

From-SVN: r211307
parent 726338f4
2014-06-06 Eric Botcazou <ebotcazou@adacore.com>
* tree-cfg.c (make_edges) <GIMPLE_RETURN>: Put a location on the edge.
2014-06-06 Richard Biener <rguenther@suse.de>
* cfgexpand.c (expand_gimple_cond): Remove check for current_loops.
......
......@@ -763,8 +763,11 @@ make_edges (void)
fallthru = false;
break;
case GIMPLE_RETURN:
make_edge (bb, EXIT_BLOCK_PTR_FOR_FN (cfun), 0);
fallthru = false;
{
edge e = make_edge (bb, EXIT_BLOCK_PTR_FOR_FN (cfun), 0);
e->goto_locus = gimple_location (last);
fallthru = false;
}
break;
case GIMPLE_COND:
make_cond_expr_edges (bb);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment