On 4/21/2021 2:08 AM, Martin Liška wrote:
Having c++11, we can now use a handy function called 
std::thread::hardware_concurrency.

Patch can bootstrap on x86_64-linux-gnu and survives regression tests.

Ready to be installed?
Thanks,
Martin

gcc/ChangeLog:

        * lto-wrapper.c (cpuset_popcount): Remove.
        (init_num_threads): Remove and use hardware_concurrency.

OK

jeff

Reply via email to