This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: RFA: Patch for new demangler
On Fri, Nov 21, 2003 at 04:14:58PM -0500, DJ Delorie wrote:
> > +_Z10hairyfunc5PFPFilEPcE
> > +hairyfunc5(int (*(*)(char*))(long))
>
> the C++ demangler says "hairyfunc5(int (*)(long) (*)(char*))"
Which is correct?
> > +_Z1fILi1ELc120EEv1AIXplT_cviLd810000000000000000703DAD7A370C5EEE
> > +void f<1, 120>(A<(1) + (((int)((double)810000000000000000703DAD7A370C5)))>)
>
> The C++ one doesn't demangle this one.
Because it is ABI version 1.
> > +_Z1fILi1EEv1AIXplT_cvingLf3f800000EEE
> > +void f<1>(A<(1) + (((int)(-((float)3f800000))))>)
>
> Or this one.
It will soon:
~/c++/demangler>./c++filt _Z1fILi1EEv1AIXplT_cvingLf3f800000EEE 2> /dev/null
void f<1>(A<(1) + ((int)(-((float)7.8125e-3)))>)
--
Carlo Wood <carlo@alinoe.com>