diff options
Diffstat (limited to 'gcc/cfgbuild.c')
-rw-r--r-- | gcc/cfgbuild.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/gcc/cfgbuild.c b/gcc/cfgbuild.c index 05adac0..082f070 100644 --- a/gcc/cfgbuild.c +++ b/gcc/cfgbuild.c @@ -337,8 +337,10 @@ make_edges (basic_block min, basic_block max, int update_p) taken, then only calls to those functions or to other nested functions that use them could possibly do nonlocal gotos. */ - for (rtx x = nonlocal_goto_handler_labels; x; x = XEXP (x, 1)) - make_label_edge (edge_cache, bb, XEXP (x, 0), + for (rtx_expr_list *x = nonlocal_goto_handler_labels; + x; + x = x->next ()) + make_label_edge (edge_cache, bb, x->element (), EDGE_ABNORMAL | EDGE_ABNORMAL_CALL); } |