===================================================================
@@ -676,10 +676,9 @@ write_ts_function_decl_tree_pointers (st
bool ref_p)
{
stream_write_tree (ob, DECL_VINDEX (expr), ref_p);
- /* DECL_STRUCT_FUNCTION is handled by lto_output_function. FIXME lto,
- maybe it should be handled here? */
+ /* DECL_STRUCT_FUNCTION is handled by lto_output_function. */
stream_write_tree (ob, DECL_FUNCTION_PERSONALITY (expr), ref_p);
- /* DECL_FUNCTION_SPECIFIC_TARGET is regenerated. */
+ stream_write_tree (ob, DECL_FUNCTION_SPECIFIC_TARGET (expr), ref_p);
stream_write_tree (ob, DECL_FUNCTION_SPECIFIC_OPTIMIZATION (expr), ref_p);
}
===================================================================
@@ -774,7 +774,7 @@ lto_input_ts_function_decl_tree_pointers
DECL_VINDEX (expr) = stream_read_tree (ib, data_in);
/* DECL_STRUCT_FUNCTION is loaded on demand by cgraph_get_body. */
DECL_FUNCTION_PERSONALITY (expr) = stream_read_tree (ib, data_in);
- /* DECL_FUNCTION_SPECIFIC_TARGET is regenerated from attributes. */
+ DECL_FUNCTION_SPECIFIC_TARGET (expr) = stream_read_tree (ib, data_in);
DECL_FUNCTION_SPECIFIC_OPTIMIZATION (expr) = stream_read_tree (ib, data_in);
/* If the file contains a function with an EH personality set,