From a2223fa91483a9045f382840b73ee8fc301bb3c3 Mon Sep 17 00:00:00 2001 From: hubicka Date: Mon, 24 Feb 2014 22:58:44 +0000 Subject: [PATCH] PR lto/60295 * lto.c (stream_out): Avoid parallel streaming with -flto=jobserver until we are able to throttle it down resonably. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208097 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/lto/ChangeLog | 7 +++++++ gcc/lto/lto.c | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/gcc/lto/ChangeLog b/gcc/lto/ChangeLog index b1a40553f5a..815d0c174c5 100644 --- a/gcc/lto/ChangeLog +++ b/gcc/lto/ChangeLog @@ -1,5 +1,12 @@ 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, undo_partition, lto_balanced_map): Aliases have no defined size. diff --git a/gcc/lto/lto.c b/gcc/lto/lto.c index c676d791266..91b43d9455b 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; -- 2.11.4.GIT