diff options
author | Jan Hubicka <hubicka@ucw.cz> | 2014-02-05 18:21:07 +0100 |
---|---|---|
committer | Jan Hubicka <hubicka@gcc.gnu.org> | 2014-02-05 17:21:07 +0000 |
commit | f300e7b88c73abc5d5926633b671d94fd20b04b8 (patch) | |
tree | 8f49e8a93fe079885ddefa97205d08a6b140ccf3 /gcc/gcc.c | |
parent | 77897429538d438730072459c93c37bae3850761 (diff) | |
download | gcc-f300e7b88c73abc5d5926633b671d94fd20b04b8.zip gcc-f300e7b88c73abc5d5926633b671d94fd20b04b8.tar.gz gcc-f300e7b88c73abc5d5926633b671d94fd20b04b8.tar.bz2 |
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
Diffstat (limited to 'gcc/gcc.c')
-rw-r--r-- | gcc/gcc.c | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -888,12 +888,12 @@ static const char *asm_options = static const char *invoke_as = #ifdef AS_NEEDS_DASH_FOR_PIPED_INPUT -"%{!fwpa:\ +"%{!fwpa*:\ %{fcompare-debug=*|fdump-final-insns=*:%:compare-debug-dump-opt()}\ %{!S:-o %|.s |\n as %(asm_options) %|.s %A }\ }"; #else -"%{!fwpa:\ +"%{!fwpa*:\ %{fcompare-debug=*|fdump-final-insns=*:%:compare-debug-dump-opt()}\ %{!S:-o %|.s |\n as %(asm_options) %m.s %A }\ }"; @@ -3651,6 +3651,10 @@ driver_handle_option (struct gcc_options *opts, validated = true; break; + case OPT_fwpa: + flag_wpa = ""; + break; + default: /* Various driver options need no special processing at this point, having been handled in a prescan above or being |