gimple.h (compare_field_offset): Rename into...
[gcc.git] / gcc / lto-streamer-in.c
index 3c31b04f8c386a8a980cd1234dd821e813684583..5c6658a9f992c10ebb2db558108e2cc762261806 100644 (file)
@@ -1094,7 +1094,9 @@ input_gimple_stmt (struct lto_input_block *ib, struct data_in *data_in,
                    {
                      if (tem == field
                          || (TREE_TYPE (tem) == TREE_TYPE (field)
-                             && compare_field_offset (tem, field)))
+                             && DECL_NONADDRESSABLE_P (tem)
+                                == DECL_NONADDRESSABLE_P (field)
+                             && gimple_compare_field_offset (tem, field)))
                        break;
                    }
                  /* In case of type mismatches across units we can fail