This is the mail archive of the gcc-patches@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]

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


On 13 April 2015 at 13:13, Michael Hanselmann wrote:
> 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' 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 patch looks correct, but I think it can wait until the trunk
>> reopens after the GCC 5 release.
>
> I presume that's the case now that the GCC 5 branch has been created.

Yes, thanks for the reminder. I plan to fix it some time this week.


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