> > If you have any clue how to debug it further, I would be happy to try. > > That atree code is real software engineering treat BTW > > I'll have a look at some point, once things have stabilized a bit.
OK, I will push out the remaining patches needed to get LTO into a shape to compile gnat1 and we can try to take a look from that. It seems that gnat1 was broken with LTO this way at least since GCC 5. Honza