This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libstdc++/70298] New: std::call_once hangs on second call if first threw an exception


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]