This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/70298] New: std::call_once hangs on second call if first threw an exception
- From: "anthony.ajw at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 18 Mar 2016 15:12:09 +0000
- Subject: [Bug libstdc++/70298] New: std::call_once hangs on second call if first threw an exception
- Auto-submitted: auto-generated
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70298
Bug ID: 70298
Summary: std::call_once hangs on second call if first threw an
exception
Product: gcc
Version: 6.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: libstdc++
Assignee: unassigned at gcc dot gnu.org
Reporter: anthony.ajw at gmail dot com
Target Milestone: ---
Created attachment 38026
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=38026&action=edit
call_once_bug.cpp
The attached code will hang on the second call to std::call_once.