Re: [Attn: gcc maintainers] Re: unhandled C++ exceptions not propagating

2020-08-17 Thread JonY via Cygwin
On 8/18/20 12:20 AM, Ken Brown via Cygwin wrote: > 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

Re: [Attn: gcc maintainers] Re: unhandled C++ exceptions not propagating

2020-08-17 Thread Ken Brown via Cygwin
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 tes

Re: [Attn: gcc maintainers] Re: unhandled C++ exceptions not propagating

2020-08-17 Thread JonY via Cygwin
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

Re: [Attn: gcc maintainers] Re: unhandled C++ exceptions not propagating

2020-08-17 Thread Ken Brown via Cygwin
On 8/17/2020 4:40 PM, Ken Brown via Cygwin wrote: On 8/17/2020 3:06 PM, Ken Brown via Cygwin wrote: On 8/17/2020 2:13 PM, Corinna Vinschen wrote: On Aug 17 13:36, Ken Brown via Cygwin wrote: On 8/16/2020 6:38 PM, Ken Brown via Cygwin wrote: One further comment, and then I'll shut up I lied.

Re: [Attn: gcc maintainers] Re: unhandled C++ exceptions not propagating

2020-08-17 Thread Ken Brown via Cygwin
On 8/17/2020 3:06 PM, Ken Brown via Cygwin wrote: On 8/17/2020 2:13 PM, Corinna Vinschen wrote: On Aug 17 13:36, Ken Brown via Cygwin wrote: On 8/16/2020 6:38 PM, Ken Brown via Cygwin wrote: One further comment, and then I'll shut up I lied. ...which is ok. and leave it to people who kno

Re: [Attn: gcc maintainers] Re: unhandled C++ exceptions not propagating

2020-08-17 Thread Ken Brown via Cygwin
On 8/17/2020 2:13 PM, Corinna Vinschen wrote: On Aug 17 13:36, Ken Brown via Cygwin wrote: On 8/16/2020 6:38 PM, Ken Brown via Cygwin wrote: One further comment, and then I'll shut up I lied. ...which is ok. and leave it to people who know what they're talking about: In the 64-bit case, t

Re: [Attn: gcc maintainers] Re: unhandled C++ exceptions not propagating

2020-08-17 Thread Achim Gratz
Corinna Vinschen writes: > This stuff isn't really my strong point. IIUC the above comment correctly, > we might get away with adding another case to the exception handler switch: > > #define STATUS_GCC_THROW 0x20474343 > case STATUS_GCC_THROW: > return ExceptionContinueExecution; > > Did

Re: [Attn: gcc maintainers] Re: unhandled C++ exceptions not propagating

2020-08-17 Thread Corinna Vinschen
On Aug 17 13:36, Ken Brown via Cygwin wrote: > On 8/16/2020 6:38 PM, Ken Brown via Cygwin wrote: > > One further comment, and then I'll shut up > > I lied. ...which is ok. > > and leave it to people who know what they're talking about: In the > > 64-bit case, the function _Unwind_RaiseException