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

--- Comment #16 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Author: redi
Date: Mon Jun 12 16:37:28 2017
New Revision: 249130

URL: https://gcc.gnu.org/viewcvs?rev=249130&root=gcc&view=rev
Log:
PR libstdc++/55917 do not handle exceptions in std::thread

        PR libstdc++/55917
        * src/c++11/thread.cc (execute_native_thread_routine): Remove
        try-block so that exceptions propagate out of the thread and terminate
        is called by the exception-handling runtime.
        (execute_native_thread_routine_compat): Likewise.
        * testsuite/30_threads/thread/cons/terminate.cc: New.

Added:
    trunk/libstdc++-v3/testsuite/30_threads/thread/cons/terminate.cc
Modified:
    trunk/libstdc++-v3/ChangeLog
    trunk/libstdc++-v3/src/c++11/thread.cc

Reply via email to