[Bug c++/15764] no cleanup if temporary's dtor terminates with an exception

2007-10-03 Thread jason at gcc dot gnu dot org
--- Comment #11 from jason at gcc dot gnu dot org 2007-10-03 18:26 --- Fixed for 4.3. -- jason at gcc dot gnu dot org changed: What|Removed |Added Status|ASSI

[Bug c++/15764] no cleanup if temporary's dtor terminates with an exception

2007-10-03 Thread jason at gcc dot gnu dot org
--- Comment #10 from jason at gcc dot gnu dot org 2007-10-03 10:43 --- Subject: Bug 15764 Author: jason Date: Wed Oct 3 10:43:42 2007 New Revision: 128979 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=128979 Log: PR c++/15764 * cp/decl.c (wrap_cleanups_r): New

[Bug c++/15764] no cleanup if temporary's dtor terminates with an exception

2007-09-05 Thread jason at gcc dot gnu dot org
--- Comment #9 from jason at gcc dot gnu dot org 2007-09-06 05:36 --- This version of the test breaks under ICC: -- extern "C" void abort (); int counter = 0; int thrown = 0; struct a { ~a () { if (!thrown++) throw 1; } }; int f (a const&, const a&) { return 1; }

[Bug c++/15764] no cleanup if temporary's dtor terminates with an exception

2004-10-14 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2004-10-15 02:20 --- The try/finally block for the tmp is not around the initializer, why? -- What|Removed |Added