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.

Reply via email to