diff options
Diffstat (limited to 'gcc/reload1.c')
-rw-r--r-- | gcc/reload1.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/gcc/reload1.c b/gcc/reload1.c index 2bb8005..f7acd65 100644 --- a/gcc/reload1.c +++ b/gcc/reload1.c @@ -3909,14 +3909,13 @@ set_initial_eh_label_offset (rtx label) static void set_initial_label_offsets (void) { - rtx x; memset (offsets_known_at, 0, num_labels); - for (x = forced_labels; x; x = XEXP (x, 1)) - if (XEXP (x, 0)) - set_label_offsets (XEXP (x, 0), NULL, 1); + for (rtx_expr_list *x = forced_labels; x; x = x->next ()) + if (x->element ()) + set_label_offsets (x->element (), NULL, 1); - for (x = nonlocal_goto_handler_labels; x; x = XEXP (x, 1)) + for (rtx x = nonlocal_goto_handler_labels; x; x = XEXP (x, 1)) if (XEXP (x, 0)) set_label_offsets (XEXP (x, 0), NULL, 1); |