https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98275

--- Comment #4 from Pekka S <p...@gcc-bugzilla.mail.kapsi.fi> ---
(I wrote this prior the ticked was modifed and the patch committed.)

Thanks.

Applied the patch on the latest trunk, built aarch64-none-gcc cross compiler
(mingw64).  Using -flto=auto -v reports `LTO parallelism level set to 1' and
`make -f <temporary.mk> -j1 all';  Linking now succeeds.

Tested using GNU make 4.2.93 and 4.3 (msys2).

I do not know whether or not the number of processors should be actually
detectable.  I presume I'll be simply using -flto=N (N>1) as it appears to work
just fine.

As a side note behaviour is now slightly different between -flto=auto if
nthreads_var<=1 and -flto=N where N<=1.

Reply via email to