i386.c (legitimize_tls_address): Generate tls_initial_exec_64_sun only when !TARGET_X32.
[gcc.git] / gcc / gimple-streamer-in.c
index fc6ceb43aa1b9956a01012a3361f29ad228472dd..1b6bf4bd6d78cdadb482d98b5a84971aba2fcc0f 100644 (file)
@@ -162,6 +162,8 @@ input_gimple_stmt (struct lto_input_block *ib, struct data_in *data_in,
                  type = DECL_CONTEXT (field);
                  for (tem = TYPE_FIELDS (type); tem; tem = TREE_CHAIN (tem))
                    {
+                     if (TREE_CODE (tem) != FIELD_DECL)
+                       continue;
                      if (tem == field)
                        break;
                      if (DECL_NONADDRESSABLE_P (tem)
@@ -231,6 +233,10 @@ input_gimple_stmt (struct lto_input_block *ib, struct data_in *data_in,
     case GIMPLE_PREDICT:
       break;
 
+    case GIMPLE_TRANSACTION:
+      gimple_transaction_set_label (stmt, stream_read_tree (ib, data_in));
+      break;
+
     default:
       internal_error ("bytecode stream: unknown GIMPLE statement tag %s",
                      lto_tag_name (tag));