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

--- Comment #2 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-11 branch has been updated by Jonathan Wakely
<r...@gcc.gnu.org>:

https://gcc.gnu.org/g:ac0e9b696c362fdd49752260ca7b3ce9e467ec36

commit r11-9834-gac0e9b696c362fdd49752260ca7b3ce9e467ec36
Author: Jonathan Wakely <jwak...@redhat.com>
Date:   Tue Mar 22 21:17:01 2022 +0000

    libstdc++: Disable atomic wait for freestanding [PR105021]

    We use either condition variables or futexes to implement atomic waits,
    so we can't do it in freestanding. This is non-conforming, so should be
    revisited later, probably by making freestanding atomic waiting
    operations spin without ever blocking.

    Reviewed-by: Thomas Rodgers <trodg...@redhat.com>

    libstdc++-v3/ChangeLog:

            PR libstdc++/105021
            * include/bits/atomic_base.h [!_GLIBCXX_HOSTED]: Do not include
            <bits/atomic_wait.h> for freestanding.

    (cherry picked from commit 5bf59b004808abf6acbfe5ef54a0f9216b8dce22)
  • [Bug libstdc++/105021] [11 Regr... cvs-commit at gcc dot gnu.org via Gcc-bugs

Reply via email to