[Attn: gcc maintainers] Re: unhandled C++ exceptions not propagating
Ken Brown
kbrown@cornell.edu
Tue Aug 18 00:20:07 GMT 2020
On 8/17/2020 8:09 PM, JonY via Cygwin wrote:
> On 8/17/20 8:50 PM, Ken Brown via Cygwin wrote:
>>>
>>> This isn't an issue after all. The comment I quoted above refers to
>>> all GCC exceptions, not just STATUS_GCC_THROW. I'll submit a patch
>>> after testing.
>>
>> I've sent the patch. The output of the OP's test case is now the same
>> on 64-bit as on 32-bit:
>>
>> $ ./a
>> terminate called after throwing an instance of 'std::logic_error'
>> what(): basic_string::_S_construct null not valid
>> Aborted (core dumped)
>>
>
> Is the patch on gcc-patches? I'm not seeing it somehow.
No, it's on cygwin-patches.
Ken
More information about the Cygwin
mailing list