On 02/02/15 03:37 +0100, Michael Hanselmann wrote: >Calls to `std::uncaught_exception` after calling >`std::rethrow_exception' always return `true' when >`std::uncaught_exception' should return `false' unless an exception is >in flight. `std::rethrow_exception' does not update >`__cxa_eh_globals::uncaughtExceptions' while the following call to >`__cxa_begin_catch' decrements it. This fixes PR 62258. > >The original two-line patch was created by Dmitry Prokoptsev. Michael >Hanselmann implemented a testcase. Committed to trunk - thanks for the patch and test.