3.1 C++ PATCH to fix c++/5504, re-break c++/411 (was Re: GCC 3.1 Prerelease)

Jason Merrill jason@redhat.com
Tue Apr 23 14:49:00 GMT 2002


>>>>> "Mark" == Mark Mitchell <mark@codesourcery.com> writes:

> --On Tuesday, April 23, 2002 01:43:27 PM +0100 Jason Merrill
> <jason@redhat.com> wrote:

>>>>>>> "Mark" == Mark Mitchell <mark@codesourcery.com> writes:
>> 
>>> I'm inclined just to suffer here, but let's see what Jason thinks.
>> 
>> I think I'm inclined to restore the bug on the branch.

> That makes some sense.

> OK, let's respect your decision.  Would you please undo your change?

The patch below undoes the effect without reverting the associated
cleanup.

> I guess we should keep the PR open -- and high priority -- since keeping
> the change on the mainline means we already have a known performance
> regression to GCC 3.2.

Yep.

Tested i686-pc-linux-gnu, applied to 3.1 branch only.

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.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/x-patch
Size: 3865 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20020423/53db576b/attachment.bin>


More information about the Gcc-patches mailing list