https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112089
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Last reconfirmed| |2023-10-25
Ever confirmed|0 |1
Status|UNCONFIRMED |ASSIGNED
Assignee|unassigned at gcc dot gnu.org |redi at gcc dot gnu.org
--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Good catch, thanks! I think I probably just copy&pasted the throw from one of
the locking functions, which throw resource_deadlock_would_occur if _M_owns is
true, and forgot to change the error code.