lto: set nthreads_var to 1 if it is zero
authorMartin Liska <mliska@suse.cz>
Tue, 15 Dec 2020 08:59:04 +0000 (09:59 +0100)
committerMartin Liska <mliska@suse.cz>
Tue, 15 Dec 2020 09:07:37 +0000 (10:07 +0100)
commitcab1b0ebc00ea53040afcbe4b91e653a87915092
treea8c683a230778b5f3cfdc5e8ccbb2d0be388c9bb
parent59482fa1e7243bd905c7e27c92ae2b89c79fff87
lto: set nthreads_var to 1 if it is zero

gcc/ChangeLog:

PR lto/98275
* lto-wrapper.c: Do not use -j0 when we are unable to detect
number of cores.
gcc/lto-wrapper.c