On Fri, Apr 1, 2011 at 2:18 PM, Jakub Jelinek <ja...@redhat.com> wrote: > Hi! > > richi's lto-cgraph.c change actually didn't do anything, because > DECL_ABSTRACT_ORIGIN is still NULL there, see PR for details. > This patch instead doesn't try to force dies for DECL_ABSTRACT_ORIGIN > DECL_EXTERNAL decls, as dwarf2out isn't prepared to handle them. > > Bootstrapped/regtested on x86_64-linux and i686-linux, > attempted also LTO bootstrap, but it failed in other unrelated > places (x86_64 somewhere in Ada and i686 because it was trying > to emit .Ldebug_info0 twice). I'll try to look at those later, > but this is a step forward, approved on IRC by rth. >
Emitting .Ldebug_info0 twice is caused by revision 171033: http://gcc.gnu.org/ml/gcc-cvs/2011-03/msg00455.html -- H.J.