This is the mail archive of the
mailing list for the GCC project.
Re: [PATCH] PR libstdc++/13045 / C++ demangler, floating values andfunction pointer type return type postfix fix.
- From: Hans-Peter Nilsson <hp at bitrange dot com>
- To: Ian Lance Taylor <ian at wasabisystems dot com>
- Cc: Paul Koning <pkoning at equallogic dot com>, <carlo at alinoe dot com>, <jlquinn at optonline dot net>, <bkoz at redhat dot com>, <gcc-patches at gcc dot gnu dot org>, <libstdc++ at gcc dot gnu dot org>
- Date: Sat, 29 Nov 2003 12:44:43 -0500 (EST)
- Subject: 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 <firstname.lastname@example.org> 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