This is the mail archive of the gcc-bugs@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]

[Bug lto/40903] LTO doesn't merge common sections properly



------- Comment #5 from rguenther at suse dot de  2009-07-29 18:18 -------
Subject: Re:  LTO doesn't merge common sections properly

On Wed, 29 Jul 2009, rth at gcc dot gnu dot org wrote:

> ------- Comment #4 from rth at gcc dot gnu dot org  2009-07-29 18:10 -------
> So LTO still produces N output object files for N input files?
> 
> Cause you can't just output
> 
>   .comm i,4,4
>   .comm i,8,8
> 
> in one object file, and I didn't see any changes to varasm.c...

Hm, it seems to output just the first decl, so depending on the
order of files on the commandline I either get 

.comm i,4,4

or

.comm i,8,8

I have to check where that happens.

Richard.


-- 


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


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