Re: [PATCH] Fix Ada bootstrap (PR bootstrap/65522)

2015-03-23 Thread Jan Hubicka
> > 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 h

Re: [PATCH] Fix Ada bootstrap (PR bootstrap/65522)

2015-03-23 Thread Arnaud Charlet
> 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 inc

[PATCH] Fix Ada bootstrap (PR bootstrap/65522)

2015-03-23 Thread Jakub Jelinek
Hi! Honza's recent change to use the libiberty demangler inside of gcc broke Ada bootstrap. The issue is that there is a symbol clash, libiberty contains ada_demangle symbol (with one API), and ada/adadecode.c (since around 3.3 time, claimed for compatibility) contains another one, with incompati