Re: LTO incremental linking and early debug

2018-05-02 Thread Jan Hubicka
> > Hmm, if that's from ltrans stage then you probably need > > Index: gcc/dwarf2out.c > === > --- gcc/dwarf2out.c (revision 259764) > +++ gcc/dwarf2out.c (working copy) > @@ -5835,7 +5835,7 @@ dwarf2out_die_ref_for_decl (tre

Re: LTO incremental linking and early debug

2018-05-02 Thread Richard Biener
On Tue, 1 May 2018, Jan Hubicka wrote: > Richard, > I have updated my patch for incremental linking into LTO bytecode, but it now > breaks in > dwarf2out: > lto1: internal compiler error: in dwarf2out_die_ref_for_decl, at > dwarf2out.c:5859 > 0x5d8a37 dwarf2out_die_ref_for_decl > ../../g

LTO incremental linking and early debug

2018-05-01 Thread Jan Hubicka
Richard, I have updated my patch for incremental linking into LTO bytecode, but it now breaks in dwarf2out: lto1: internal compiler error: in dwarf2out_die_ref_for_decl, at dwarf2out.c:5859 0x5d8a37 dwarf2out_die_ref_for_decl ../../gcc/dwarf2out.c:5858 0xa8c311 lto_write_tree_1 ..