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

Re: [C++ patch]: Remove old-abi code




--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


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