> On August 18, 2014 8:46:00 PM CEST, Jan Hubicka <hubi...@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
> 

Reply via email to