]> git.ipfire.org Git - thirdparty/gcc.git/commit
backport: re PR c++/14724 (Destructor not called on backwards goto past initialization)
authorGabriel Dos Reis <gdr@integrable-solutions.net>
Sat, 1 May 2004 19:57:28 +0000 (19:57 +0000)
committerGabriel Dos Reis <gdr@gcc.gnu.org>
Sat, 1 May 2004 19:57:28 +0000 (19:57 +0000)
commit56beadfee10c25cf7d01877898f84754247a28f6
tree06b15cea94923298dca53f180352af0399d05423
parent336402b0c916d21d5ada10fe1b90c7e88f8ed091
backport: re PR c++/14724 (Destructor not called on backwards goto past initialization)

Backport from gcc-3_4-branch:
2004-03-30  Mark Mitchell  <mark@codesourcery.com>
PR c++/14724
* decl.c (start_decl_1): Do not decide whether or not to
create a
new cleanup level until after the type has been completed.

From-SVN: r81394
gcc/cp/ChangeLog
gcc/cp/decl.c
gcc/testsuite/g++.dg/init/goto1.C