[PATCH] PR libstdc++/13045 / C++ demangler, floating values and function pointer type return type postfix fix.

Hans-Peter Nilsson hp@bitrange.com
Sat Nov 29 17:44:00 GMT 2003


On 24 Nov 2003, Ian Lance Taylor wrote:
> Paul Koning <pkoning@equallogic.com> writes:
>
> > I don't understand this -- code is built for a particular target.
> > Why can't the demangler interpret floating point stuff according to
> > what --target is set to?
>
> The demangler has not historically been a target-dependent tool.

Maybe it's moot for the purpose of the discussion, but there's
precedent for linking in target-specific traits into c++filt,
for example whether an underscore is prepended to assembly
symbols (e.g. when generated by the system compiler).

(BTW, binutils/cxxfilt.c 1.4 says "This file is part of GCC".
Yes, I know the home of c++filt has changed, but that just seems
too wrong.)

brgds, H-P



More information about the Libstdc++ mailing list