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]
Other format: [Raw text]

Re: LTO inhibiting dwarf lexical blocks output


> On August 18, 2014 8:46:00 PM CEST, Jan Hubicka <hubicka@ucw.cz> wrote:
> >> 
> >> The following seems to fix it.  In testing now.
> >
> >Will streaming as non-reference prevent DECL from being merged and
> >tails of BLOCK_VAR chains
> >to be corrupted?
> 
> Yes, the decl ends up in the function section then, not the global types and decls one.

Hmm, breaking one decl rule.  tree-inliner used to do that years ago, too. When function declaring
extern in local scope got inlined, we duplicated the node.  I fixed that by pushing these to
nonlocalized_list instead.

Perhaps we could do that earlier, in FE (or fixup in free lang data), for all EXTERn decls
avoiding those duplications.

Honza
> 
> Richard.
> 
> >
> >Honza
> >> 
> >> Richard.
> >> 
> >> > Richard.
> >> >
> >> >> Thanks.
> >> >> Aldy
> 


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