This is the mail archive of the mailing list for the GCC project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/20976] when terminate is called, stack is not unwinded

------- 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       |

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]