re PR lto/60295 (Too many lto1-wpa-stream processes are forked)
authorJan Hubicka <hubicka@ucw.cz>
Mon, 24 Feb 2014 22:58:44 +0000 (23:58 +0100)
committerJan Hubicka <hubicka@gcc.gnu.org>
Mon, 24 Feb 2014 22:58:44 +0000 (22:58 +0000)
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

gcc/lto/ChangeLog
gcc/lto/lto.c

index b1a4055..815d0c1 100644 (file)
@@ -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.
index c676d79..91b43d9 100644 (file)
@@ -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;