This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] PR libstdc++/13045 / C++ demangler, floating values andfunction pointer type return type postfix fix.


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]