------- Additional Comments From pinskia at gcc dot gnu dot org 2005-04-12 19:23 ------- Ok, this is just implemenation defined behavior. see 15.3 P 9: If no matching handler is found in a program, the function terminate() is called; whether or not the stack is unwound before this call to terminate() is implemenation-defined (15.5.1)
So we define it as not unwinding but we don't document this. Confirmed for documentation. -- What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed| |1 Keywords| |documentation Last reconfirmed|0000-00-00 00:00:00 |2005-04-12 19:23:16 date| | Summary|when exceptions are not |when terminate is called, |caught, destructors of local|stack is not unwinded |vars are not executed | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20976