On 2015.06.06 at 18:52 -0400, Aldy Hernandez wrote: > On 06/06/2015 05:47 PM, Aldy Hernandez wrote: > > On 06/06/2015 03:33 PM, Jan Hubicka wrote: > >> Aldy, > >> also at PPC64le LTO bootstrap (at gcc112) dies with: > >> ^ > >> 0x104ae8f7 check_die > >> ../../gcc/dwarf2out.c:5715 > > > > Hmmm... this is in the LTO/ltrans stage? If so, that's weird. The LTO > > path does not do the early DIE dance. Since check_die() is a new sanity > > check for DIEs, I wonder if this is a latent bug that was already there. > > It looks like ppc64le fails to bootstrap with the same comparison > failure aarch64 fails with, so I need to take a look at ppc64le regardless. > > However, for your particular problem, I wonder if this was a preexisting > condition. Would you mind reproducing your problem without my > debug-early patchset, but with the attached patch? > > The commit prior to debug-early is: > > git commit d51560f9afc5c8a826bcfa6fc90a96156b623559 > trunk@224160 > > The attached patch adds the sanity check, but without the debug-early > work. If you still get a failure, this is a pre-existing bug.
See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66468 for a small testcase. It looks like this is not a pre-existing issue, because with your sanity check there is not failure. -- Markus