diff options
author | Jan Hubicka <hubicka@ucw.cz> | 2014-02-24 23:58:44 +0100 |
---|---|---|
committer | Jan Hubicka <hubicka@gcc.gnu.org> | 2014-02-24 22:58:44 +0000 |
commit | 6dab804dc7d7245828d565f19ae540e158def1c1 (patch) | |
tree | 2c94404646b9766058edc79fffa6d20781581ce2 | |
parent | 2105f1a796d2fa126313b6568b573af6e330ce80 (diff) | |
download | gcc-6dab804dc7d7245828d565f19ae540e158def1c1.zip gcc-6dab804dc7d7245828d565f19ae540e158def1c1.tar.gz gcc-6dab804dc7d7245828d565f19ae540e158def1c1.tar.bz2 |
re PR lto/60295 (Too many lto1-wpa-stream processes are forked)
PR lto/60295
* lto.c (stream_out): Avoid parallel streaming with
-flto=jobserver until we are able to throttle it down
resonably.
From-SVN: r208097
-rw-r--r-- | gcc/lto/ChangeLog | 7 | ||||
-rw-r--r-- | gcc/lto/lto.c | 2 |
2 files changed, 8 insertions, 1 deletions
diff --git a/gcc/lto/ChangeLog b/gcc/lto/ChangeLog index b1a4055..815d0c1 100644 --- a/gcc/lto/ChangeLog +++ b/gcc/lto/ChangeLog @@ -1,5 +1,12 @@ 2014-02-14 Jan Hubicka <hubicka@ucw.cz> + PR lto/60295 + * lto.c (stream_out): Avoid parallel streaming with + -flto=jobserver until we are able to throttle it down + resonably. + +2014-02-14 Jan Hubicka <hubicka@ucw.cz> + * lto-partition.c (add_symbol_to_partition_1, undo_partition, lto_balanced_map): Aliases have no defined size. diff --git a/gcc/lto/lto.c b/gcc/lto/lto.c index c676d79..91b43d9 100644 --- a/gcc/lto/lto.c +++ b/gcc/lto/lto.c @@ -2498,7 +2498,7 @@ stream_out (char *temp_filename, lto_symtab_encoder_t encoder, bool last) #ifdef HAVE_WORKING_FORK static int nruns; - if (!lto_parallelism || lto_parallelism == 1) + if (lto_parallelism <= 1) { do_stream_out (temp_filename, encoder); return; |