This is the mail archive of the gcc@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: empty function optimizations


> Other than that, we can't change the mangling, even if it's buggy
> with respect to the spec, or even if information required for
> demangling is missing.

I absolutely agree. As a result, Joe is right that any code reduction
must come from factorizing the library code itself, using standard C++
techniques, for practical purposes. Still, it may be possible to
achieve code reduction by combining functionally-equivalent
instantiations by means of an extension to the ABI, e.g. by placing
multiple symbols in front of identical assembler code.

Martin

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