OSDN Git Service

PR c++/8287
authormmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 30 Oct 2002 00:05:36 +0000 (00:05 +0000)
committermmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 30 Oct 2002 00:05:36 +0000 (00:05 +0000)
commitc47a7ada076aa0c58b6829a63329a25e12a42901
tree6f208f2cba1ad94d262e56bc5066244dc0d06596
parentd05e701def816d91abd7592dc12191cd00db2f7c
PR c++/8287
* decl.c (finish_destructor_body): Create the label to jump to
when returning from a destructor here.
(finish_function_body): Rather than here.

PR c++/8287
* g++.dg/init/dtor2.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58643 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/decl.c
gcc/testsuite/g++.dg/init/dtor2.C [new file with mode: 0644]