uncaught exception in g++ 3.4 and 4.0

Richard Henderson rth@redhat.com
Fri Sep 9 23:47:00 GMT 2005


On Fri, Sep 09, 2005 at 11:57:07AM +0100, Andrew Haley wrote:
> I can't find a Bugzilla entry for this.  Is it really a bug?

You'd have to get a c++ ruling to be sure, but from the code that
makes it to the middle end, it's not a bug. 

The main::bar::bar() constructor catches the throw from the foo()
constructor and calls __cxa_call_unexpected to abort.



r~



More information about the Gcc mailing list