> > In any case, for compatibility, this patch just changes the guard so that > > adadecode.c's ada_demangle is compiled only into libgnat*.{a,so} and not > > into gnat1, which can then successfully link against libiberty > > cplus-dem.o. > > > > The ipa-devirt.c change is obvious IMHO, the same header is included a few > > lines above this. > > > > Bootstrapped/regtested on x86_64-linux and i686-linux, ok for trunk? > > The Ada part looks OK to me.
.. and the ipa-devirt part is obvious - I just did not notice demangler is among includs we drag in. Thanks! Honza > > Arno