[PATCH] C++ space optimization: de-cloning con/de/structors, take III

Richard Henderson rth@redhat.com
Fri Aug 16 10:00:00 GMT 2002


On Fri, Aug 16, 2002 at 02:13:04AM +0100, Jason Merrill wrote:
> It should be possible to have them as private symbols in a COMDAT section,
> which would mean they would be coalesced but not available for reference
> from object files that don't also define them.  Unless that would cause
> problems for objects that called one of the discarded definitions?

Careful: while I believe this works in binutils 2.12, there are
bugs in various previous versions of binutils concerning this.


r~



More information about the Gcc-patches mailing list