* lto-cgraph.c (asm_nodes_output): Make global.
commit3e17769e0dd1e5b018f36317a5bfff222cd16ee6
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 5 Feb 2014 17:21:07 +0000 (5 17:21 +0000)
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 5 Feb 2014 17:21:07 +0000 (5 17:21 +0000)
tree8f49e8a93fe079885ddefa97205d08a6b140ccf3
parenta503c22d36cbbdc5f364942ab47c51c762fb8915
* lto-cgraph.c (asm_nodes_output): Make global.
* lto-wrapper.c (run_gcc): Pass down paralelizm to WPA.
* gcc.c (AS_NEEDS_DASH_FOR_PIPED_INPUT): Allow WPA
parameter
(driver_handle_option): Handle OPT_fwpa.

* lto.c (lto_parallelism): New static var.
(do_stream_out, wait_for_child, stream_out): New static functions.
(lto_wpa_write_files): Add support for parallel streaming.
(do_whole_program_analysis): Set parallelism.
* lang.opt (fwpa): Add parameter.
* lto-lang.c (lto_handle_option): Handle flag_wpa.
(lto_init): Update use of flag_wpa.
* lto-streamer.h (asm_nodes_output): Declare.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@207515 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/gcc.c
gcc/lto-cgraph.c
gcc/lto-wrapper.c
gcc/lto/ChangeLog
gcc/lto/lang.opt
gcc/lto/lto-lang.c
gcc/lto/lto.c