This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: [PATCH] PR libstdc++/13045 / C++ demangler, floating values and function pointer type return type postfix fix.
Ian Lance Taylor <ian@wasabisystems.com> writes:
> DJ Delorie <dj@redhat.com> writes:
>
> > > Well, to do this, we would have to find some target-specific library.
> >
> > libiberty has floatformat.[ch]
>
> Sure, but that's not what we need. We need a library which provides a
> single API which is configured based on the target. floatformat
> doesn't help, because the demangler doesn't know which floatformat
> structure to use.
Alternately, couldn't the demangler API be modified so that the *caller*
specifies a const struct floatformat* argument?
This would avoid the need for a target-specific libiberty, and also allow
run time selection of the floatformat, which could be necessary on some
platforms (particularly for long double).
--
Jonathan Lennox
lennox at cs dot columbia dot edu
- References:
- [PATCH] PR libstdc++/12736 / C++-ABI demangler update.
- Re: [PATCH] PR libstdc++/12736 / C++-ABI demangler update.
- [PATCH] PR libstdc++/13045 / C++ demangler, floating values and function pointer type return type postfix fix.
- [PATCH] PR libstdc++/13045 / C++ demangler,floating values and function pointer type return type postfix fix.
- Re: [PATCH] PR libstdc++/13045 / C++ demangler, floating values and function pointer type return type postfix fix.
- Re: [PATCH] PR libstdc++/13045 / C++ demangler, floating values and function pointer type return type postfix fix.
- Re: [PATCH] PR libstdc++/13045 / C++ demangler, floating values and function pointer type return type postfix fix.
- Re: [PATCH] PR libstdc++/13045 / C++ demangler, floating values and function pointer type return type postfix fix.
- Re: [PATCH] PR libstdc++/13045 / C++ demangler, floating values and function pointer type return type postfix fix.
- Re: [PATCH] PR libstdc++/13045 / C++ demangler, floating values and function pointer type return type postfix fix.
- Re: [PATCH] PR libstdc++/13045 / C++ demangler, floating values and function pointer type return type postfix fix.
- Re: [PATCH] PR libstdc++/13045 / C++ demangler, floating values and function pointer type return type postfix fix.