* passes.c (ipa_write_summaries): Only modify statements if body
commit213acaba2c2718c14eb41d20696187ee49abbd7b
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 30 May 2018 16:43:11 +0000 (30 16:43 +0000)
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 30 May 2018 16:43:11 +0000 (30 16:43 +0000)
treeb0fdc4b08ef33e951e37f254d986476efd591557
parent278cec163899babb25f328512c97c6e9c56c4efe
* passes.c (ipa_write_summaries): Only modify statements if body
is in memory.
* cgraphunit.c (ipa_passes): Also produce intermeidate code when
incrementally linking.
(ipa_passes): Likewise.
* lto-cgraph.c (lto_output_node): When incrementally linking do not
pass down resolution info.
* common.opt (flag_incremental_link): Update info.
* gcc.c (plugin specs): Turn flinker-output=* to
-plugin-opt=-linker-output-known
* toplev.c (compile_file): Also cut compilation when doing incremental
link.
* flag-types. (enum lto_partition_model): Add
LTO_LINKER_OUTPUT_NOLTOREL.
(invoke.texi): Add -flinker-output docs.
* ipa.c (symbol_table::remove_unreachable_nodes): Handle LTO incremental
link same way as WPA; do not stream in dead initializers.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@260964 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/lto-streamer-out.c