This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [C++ patch]: Remove old-abi code
- To: Nathan Sidwell <nathan at codesourcery dot com>, "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>
- Subject: Re: [C++ patch]: Remove old-abi code
- From: Mark Mitchell <mark at codesourcery dot com>
- Date: Fri, 20 Jul 2001 07:18:07 -0700
--On Friday, July 20, 2001 02:16:24 PM +0100 Nathan Sidwell
<nathan@codesourcery.com> wrote:
> Hi,
> this patch removes five defines which controlled the abi class
> layout. These were all wired to 1 for the new abi. I've removed
> the old-abi code that they controlled.
Yay. This is all OK, except for:
*************** write_special_name_constructor (ctor)
*** 1195,1204 ****
<special-name> ::= D0 # deleting (in-charge) destructor
::= D1 # complete object (in-charge) destructor
::= D2 # base object (not-in-charge) destructor
!
! We also need to provide unique mngled names for old-ABI
! destructors, sometimes. These should only be used internally. We
! use "D*INTERNAL*" for these. */
static void
write_special_name_destructor (dtor)
We still generate the old-ABI constructors/destructors for use internally;
they're the ones that we clone to get the new-ABI version. So, this
comment is still true.
--
Mark Mitchell mark@codesourcery.com
CodeSourcery, LLC http://www.codesourcery.com