This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PATCH: Support the new demangler written in C++
On Jul 8, 2003, "Zack Weinberg" <zack@codesourcery.com> wrote:
> With a slightly more flexible build process, we could start off with a
> dummy demangler that doesn't do anything, then go back and relink
> binutils and gdb after we have the C++ compiler available. (If
> build!=host you would have to have a C++ compiler in the first place.)
!= target
> ... Remind me why the C demangler is considered unfixable?
Because we're being lazy and trying to use an implementation that is
already correct, but happens to be implemented in C++.
Heck, can't we just twiddle it until cfront can translate it to C,
clean it up and, from then on, declare the cleaned up sources as the
official sources?
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{redhat.com, gcc.gnu.org}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist Professional serial bug killer