Re: [PATCH libstdc++] Fix for std::uncaught_exception (PR 62258)

2015-04-13 Thread Michael Hanselmann
On 02.02.2015 12:03, Jonathan Wakely wrote: > On 2 February 2015 at 02:37, Michael Hanselmann wrote: >> Calls to `std::uncaught_exception` after calling >> `std::rethrow_exception' always return `true' when >> `std::uncaught_exception' should return `false&

[PATCH libstdc++] Fix for std::uncaught_exception (PR 62258)

2015-02-01 Thread Michael Hanselmann
7; 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. Signed-off-by: Michael Hanselmann --- libstdc++-v3/libsupc++/eh_ptr.cc | 3 ++ .../except