This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug lto/40903] LTO doesn't merge common sections properly
- From: "rguenther at suse dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 29 Jul 2009 18:18:38 -0000
- Subject: [Bug lto/40903] LTO doesn't merge common sections properly
- References: <bug-40903-10053@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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