From: Jan Hubicka Date: Mon, 24 Feb 2014 22:58:44 +0000 (+0100) Subject: re PR lto/60295 (Too many lto1-wpa-stream processes are forked) X-Git-Tag: releases/gcc-4.9.0~712 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6dab804dc7d7245828d565f19ae540e158def1c1;p=thirdparty%2Fgcc.git 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 --- diff --git a/gcc/lto/ChangeLog b/gcc/lto/ChangeLog index b1a40553f5a3..815d0c174c52 100644 --- a/gcc/lto/ChangeLog +++ b/gcc/lto/ChangeLog @@ -1,3 +1,10 @@ +2014-02-14 Jan Hubicka + + 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 * lto-partition.c (add_symbol_to_partition_1, diff --git a/gcc/lto/lto.c b/gcc/lto/lto.c index c676d7912663..91b43d9455bd 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;