This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/20976] when exceptions are not caught, destructors of local vars are not executed
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 12 Apr 2005 19:01:58 -0000
- Subject: [Bug c++/20976] when exceptions are not caught, destructors of local vars are not executed
- References: <20050412184532.20976.C.Kloukinas@soi.city.ac.uk>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-04-12 19:01 -------
I don't think this is valid as there is no landing pad and it is going to abort anyways. I have to find this
in the standard. ICC has the same behavior.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20976