This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] C++ space optimization: de-cloning con/de/structors
- From: Matt Austern <austern at apple dot com>
- To: Jason Merrill <jason at redhat dot com>
- Cc: Richard Henderson <rth at redhat dot com>, Stuart Hastings <stuart at apple dot com>, gcc-patches at gcc dot gnu dot org
- Date: Thu, 8 Aug 2002 14:44:24 -0700
- Subject: Re: [PATCH] C++ space optimization: de-cloning con/de/structors
On Thursday, August 8, 2002, at 02:29 PM, Jason Merrill wrote:
On Thu, 8 Aug 2002 13:43:32 -0700, Richard Henderson <rth@redhat.com>
wrote:
On Thu, Aug 08, 2002 at 10:13:06AM -0700, Matt Austern wrote:
In principle, I think you're right. I'd like to see us put in
Stuart's
patch as an intermediate solution...
Stuart's patch at present has ABI impact. Therefore this is not
possible.
Yes, it has ABI impact, but so long as we can guarantee that
1) the name used by the unified *tor won't be used by anything else,
and
2) nothing depends on it that doesn't also emit a copy
then it should be compatible with other implementations, ours or
others'.
That was certainly the goal. We wanted to make sure that it was
a pure extension, and fully compatible with the C++ ABI. I agree
that your two criteria are necessary and sufficient to achieve that
goal.
--Matt