------- Comment #21 from pinskia at gcc dot gnu dot org  2006-02-05 00:27 
-------
Subject: Re:  gcc lays down two copies of constructors


On Feb 4, 2006, at 7:20 PM, ian at airs dot com wrote:

>
>
> ------- Comment #20 from ian at airs dot com  2006-02-05 00:19 -------
> In many common cases, the two constructors are identical.  It should 
> not be
> hard to simply emit both appropriate symbols before the function.  
> That does
> not require any change to the ABI, but it eliminates the problem in 
> the common
> case.

But that does not work for some assemblers/file formats (like Darwin) as
Darwin's as finds subsections via labels.

There has been some discussion on why this suggestion would not
work on the mailing list (but I cannot find it right now).

Thanks,
Andrew Pinski


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=3187

Reply via email to