This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [rfc] fix libstdc++/10606
- From: Richard Henderson <rth at redhat dot com>
- To: Paolo Carlini <pcarlini at suse dot de>
- Cc: gcc-patches at gcc dot gnu dot org, libstdc++ at gcc dot gnu dot org, Cary Coutant <cary at cup dot hp dot com>, Martin Sebor <sebor at roguewave dot com>
- Date: Tue, 28 Dec 2004 14:54:39 -0800
- Subject: Re: [rfc] fix libstdc++/10606
- References: <20041228082031.GA6135@redhat.com> <41D1D97E.4070506@suse.de>
On Tue, Dec 28, 2004 at 11:09:02PM +0100, Paolo Carlini wrote:
> I'm forwarding below some comments that Martin (PR submitter and
> author of the relevant DR) sent me privately:
>
> "From the data array it seems that Richard chose to implement a slightly
> different behavior than what's being proposed in issue 475:
> http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_active.html#475
> According to bullet (4) of the proposed resolution, data[1] in the
> test program should be { 1, 0, true }. I.e., uncaught_exception()
> should return true immediately after completing the evaluation of
> the operand of throw.
If that's the semantics we want, I suppose it would be possible to
increment the unhandled exception count in __cxa_allocate_exception.
It would make me feel better if this were'nt an open DR though.
r~