]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - gcc/reload1.c
rtl_data.x_nonlocal_goto_handler_labels becomes an rtx_expr_list
[thirdparty/gcc.git] / gcc / reload1.c
index f7acd65f87ac762bf771ac60803af8b3cb23813d..9db479ed24ed75f4535cdb376fa72b540f77a86d 100644 (file)
@@ -3915,9 +3915,9 @@ set_initial_label_offsets (void)
     if (x->element ())
       set_label_offsets (x->element (), NULL, 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);
+  for (rtx_expr_list *x = nonlocal_goto_handler_labels; x; x = x->next ())
+    if (x->element ())
+      set_label_offsets (x->element (), NULL, 1);
 
   for_each_eh_label (set_initial_eh_label_offset);
 }