[Bug c++/20976] New: when exceptions are not caught, destructors of local vars are not executed

2005-04-12 Thread C dot Kloukinas at soi dot city dot ac dot uk
it have executed the destructors of a1,a2 (f's local vars) before exiting??? #endif return 0; } -- Summary: when exceptions are not caught, destructors of local vars are not executed Product: gcc Version: 3.4.4 Status: UNCONFIRMED

[Bug c++/20976] when exceptions are not caught, destructors of local vars are not executed

2005-04-12 Thread C dot Kloukinas at soi dot city dot ac dot uk
--- Additional Comments From C dot Kloukinas at soi dot city dot ac dot uk 2005-04-12 18:48 --- Created an attachment (id=8612) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=8612&action=view) The .ii intermediate file (bzip2 compressed) of the testcase I used. --

[Bug c++/20976] when exceptions are not caught, destructors of local vars are not executed

2005-04-12 Thread C dot Kloukinas at soi dot city dot ac dot uk
--- Additional Comments From C dot Kloukinas at soi dot city dot ac dot uk 2005-04-12 18:52 --- Created an attachment (id=8613) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=8613&action=view) And the testcase itself... -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20976