This is the mail archive of the gcc@gcc.gnu.org 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]

Re: C++/6527: destructors called in wrong order: regression from3.0.x




--On Wednesday, May 01, 2002 11:40:53 PM +0200 Paolo Carlini 
<pcarlini@unitus.it> wrote:

> Hi all,
>
> I have just triaged this PR, which seems to me quite serious. Janis is
> nailing down the patch which caused the regression.

2002-04-23  Jason Merrill  <jason@redhat.com>

	PR c++/5504 - but re-breaks c++/411
	* init.c (push_base_cleanups): Rename to perform_base_cleanups.
	Expand base cleanups now rather than pushing them.
	* decl.c (begin_destructor_body): Don't call push_base_cleanups.
	(finish_destructor_body): Call perform_base_cleanups.
	* cp-tree.h: Adjust prototype.

Would you try reverting this patch and see what happens?  That's
one thing that's been in this area recently.

--
Mark Mitchell                   mark@codesourcery.com
CodeSourcery, LLC               http://www.codesourcery.com


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