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

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

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

commit r13-8012-ge46a07b0e8a2bb074b491e0bb54a5cc8c8051341
Author: Jonathan Wakely <jwak...@redhat.com>
Date:   Thu Oct 26 16:51:30 2023 +0100

    libstdc++: Fix exception thrown by std::shared_lock::unlock() [PR112089]

    The incorrect errc constant here looks like a copy&paste error.

    libstdc++-v3/ChangeLog:

            PR libstdc++/112089
            * include/std/shared_mutex (shared_lock::unlock): Change errc
            constant to operation_not_permitted.
            * testsuite/30_threads/shared_lock/locking/112089.cc: New test.

    (cherry picked from commit 0c305f3dec9a992dd775a3b9607b7b1e8c051859)

Reply via email to