> I opened: > > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63963
I am testing the following. This hunk apparently slipped from my earlier patch Index: tree-streamer-out.c =================================================================== --- tree-streamer-out.c (revision 217668) +++ tree-streamer-out.c (working copy) @@ -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); } Index: tree-streamer-in.c =================================================================== --- tree-streamer-in.c (revision 217668) +++ tree-streamer-in.c (working copy) @@ -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, > > -- > H.J.