https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100298
--- Comment #1 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Jonathan Wakely <r...@gcc.gnu.org>: https://gcc.gnu.org/g:5cc28000cfcc219fb4c45dbc5388ec05109049af commit r12-215-g5cc28000cfcc219fb4c45dbc5388ec05109049af Author: Jonathan Wakely <jwak...@redhat.com> Date: Wed Apr 28 12:45:49 2021 +0100 libstdc++: Add missing noexcept on std::thread member function [PR 100298] The new inline definition of std::thread::hardware_concurrency() for non-gthreads targets is missing the noexcept-specifier that is on the declaration. libstdc++-v3/ChangeLog: PR libstdc++/100298 * include/bits/std_thread.h (thread::hardware_concurrency): Add missing noexcept to inline definition for non-gthreads targets.