This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: analysis of libiberty/cp-demangle.c for libsupc++/__cxa_demangle
On Wed, Feb 25, 2004 at 10:32:49AM -0600, Benjamin Kosnik wrote:
> 1) your patch of yesterday + my patches to add an type parameter get
> applied to demangle.h.
>
> 2) this gets moved to include/ext/demangle.h
>
> 3) We move __cxa_demangle into libsupc++ and use libiberty's code for this function.
>
> Thoughts? Is this acceptable to everybody?
Ok with me. I also don't see a way to make it freestanding.
I did that in the past (make my demangler not depend on libstdc++)
but I forgot how and the code for that was lost in the meantime.
It was a bit dirty anyways, it would not be the best solution
now that libiberty has a good implementation.
--
Carlo Wood <carlo@alinoe.com>