diff options
author | Jan Hubicka <hubicka@ucw.cz> | 2014-11-19 21:35:49 +0100 |
---|---|---|
committer | Jan Hubicka <hubicka@gcc.gnu.org> | 2014-11-19 20:35:49 +0000 |
commit | 61204ad95c0af99bc890e70c68cffd4999ec5bc3 (patch) | |
tree | ed9cd0838d07665b84936be11e2a67485aa22b5a /gcc/tree-streamer-out.c | |
parent | b957b2e02582cc7ba739cd3886f38800542759bb (diff) | |
download | gcc-61204ad95c0af99bc890e70c68cffd4999ec5bc3.zip gcc-61204ad95c0af99bc890e70c68cffd4999ec5bc3.tar.gz gcc-61204ad95c0af99bc890e70c68cffd4999ec5bc3.tar.bz2 |
re PR lto/63963 (LTO doesn't work with __attribute__((__target__("sse4.2"))))
PR bootstrap/63963
* tree-streamer-out.c (write_ts_function_decl_tree_pointers): Stream out
DECL_FUNCTION_SPECIFIC_TARGET
* tree-streamer-in.c (lto_input_ts_function_decl_tree_pointers): Stream in
DECL_FUNCTION_SPECIFIC_TARGET.
From-SVN: r217809
Diffstat (limited to 'gcc/tree-streamer-out.c')
-rw-r--r-- | gcc/tree-streamer-out.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/gcc/tree-streamer-out.c b/gcc/tree-streamer-out.c index f735b56..b959454 100644 --- a/gcc/tree-streamer-out.c +++ b/gcc/tree-streamer-out.c @@ -676,10 +676,9 @@ write_ts_function_decl_tree_pointers (struct output_block *ob, tree expr, 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); } |