[rfc] fix libstdc++/10606

Richard Henderson rth@redhat.com
Tue Dec 28 22:56:00 GMT 2004


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~



More information about the Libstdc++ mailing list