* tree-cfg.c (make_edges) <GIMPLE_RETURN>: Put a location on the edge.
From-SVN: r211307
This commit is contained in:
parent
726338f44e
commit
9b7a11e153
|
@ -1,3 +1,7 @@
|
|||
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);
|
||||
|
|
Loading…
Reference in New Issue