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]
Other format: [Raw text]

Re: [PATCH] C++ space optimization: de-cloning con/de/structors


On Thu, Aug 08, 2002 at 02:44:24PM -0700, Matt Austern wrote:
> 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.

Note that if this is added, the symbol has to be definitely STV_HIDDEN
if it is supported by the target, otherwise it will add dynamic
relocations and overhead resulting from that.

	Jakub


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