On Jun 2, 2011, at 10:43 AM, Anders Carlsson wrote:
> On Jun 2, 2011, at 10:35 AM, Marshall Clow wrote:
> 
>> Implements __cxa_bad_cast and __cxa_bad_typeid
>> 
>> Needs tests, though ;-)
>> 
> 
> This patch is incorrect. __cxa_bad_cast should throw an std::bad_cast 
> exception, and __cxa_bad_typeid should throw a std::bad_typeid exception.

Hmm.
I thought that this was the "last resort" call - -what happens when such an 
exception is not caught.

More reading up on my part ;-)

Thanks for the info.

-- Marshall


_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to