C++ demangler horrors

H. J. Lu hjl@lucon.org
Fri Jun 27 06:52:00 GMT 2003


On Fri, Jun 27, 2003 at 07:11:38AM +0200, Oscar Fuentes wrote:
> "H. J. Lu" <hjl@lucon.org> writes:
> 
> > It is wrong. There should be no __cxa_demangle in demangle.o. Also
> > you should use "gcc", not "g++", when using -ldemangler. One thing
> > you can try is check out today's binutils from CVS, which has my new
> > demangler testcases. You should get many "make check" failures in
> > libiberty. Then you replace cp-demangle.o in libiberty.a with
> > demangle.o and rebuild libiberty/testsuite/test-demangle.  You
> > should get no "make check" failures in libiberty with the new
> > libiberty.a.
> 
> Thanks.
> 
> The demangler with my vector & string now passes those libiberty
> tests.
> 
> I'll GNUify the source code as soon as I have time.
> 
> I am an absolute beginner, so what should I do next? The code is not a
> trivial, so I guess I need a copyright assignment. As I'm patching a
> patch, to whom should I send the files? To the original patch
> submitter? Or to H. J. Lu?

Send the code to me. But you need a copyright assignment. Could someone
please send Oscar necessary paper works?

Thanks.


H.J.



More information about the Gcc mailing list