https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64412

--- Comment #21 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Fri Jan  9 21:38:00 2015
New Revision: 219410

URL: https://gcc.gnu.org/viewcvs?rev=219410&root=gcc&view=rev
Log:
    PR middle-end/64412
    * lto-streamer.h (lto_stream_offload_p): New declaration.
    * lto-streamer.c (lto_stream_offload_p): New variable.
    * cgraphunit.c (ipa_passes): Set lto_stream_offload_p
    at the same time as section_name_prefix.
    * lto-streamer-out.c (hash_tree): Don't hash TREE_TARGET_OPTION
    if lto_stream_offload_p.
    * tree-streamer-out.c (streamer_pack_tree_bitfields): Don't
    stream TREE_TARGET_OPTION if lto_stream_offload_p.
    (write_ts_function_decl_tree_pointers): Don't
    stream DECL_FUNCTION_SPECIFIC_TARGET if lto_stream_offload_p.
    * tree-streamer-in.c (unpack_value_fields): Don't stream
    TREE_TARGET_OPTION in if ACCEL_COMPILER.
    (lto_input_ts_function_decl_tree_pointers): Don't stream
    DECL_FUNCTION_SPECIFIC_TARGET in if ACCEL_COMPILER.
    * lto-opts.c (lto_write_options): Use lto_stream_offload_p
    instead of section_name_prefix string comparisons.
lto/
    * lto.c (read_cgraph_and_symbols): Set lto_stream_offload_p
    if ACCEL_COMPILER.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/cgraphunit.c
    trunk/gcc/lto-opts.c
    trunk/gcc/lto-streamer-out.c
    trunk/gcc/lto-streamer.c
    trunk/gcc/lto-streamer.h
    trunk/gcc/lto/ChangeLog
    trunk/gcc/lto/lto.c
    trunk/gcc/tree-streamer-in.c
    trunk/gcc/tree-streamer-out.c

Reply via email to