aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/lto/ChangeLog7
-rw-r--r--gcc/lto/lto.c2
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;