]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/lto-cgraph.c
lto-cgraph.c (asm_nodes_output): Make global.
authorJan Hubicka <hubicka@ucw.cz>
Wed, 5 Feb 2014 17:21:07 +0000 (18:21 +0100)
committerJan Hubicka <hubicka@gcc.gnu.org>
Wed, 5 Feb 2014 17:21:07 +0000 (17:21 +0000)
commitf300e7b88c73abc5d5926633b671d94fd20b04b8
tree8f49e8a93fe079885ddefa97205d08a6b140ccf3
parent77897429538d438730072459c93c37bae3850761
lto-cgraph.c (asm_nodes_output): Make global.

* 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.

From-SVN: r207515
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