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.
Nathan Myers <ncm-nospam@cantrip.org> writes:
| On Wed, Nov 26, 2003 at 05:06:55AM +0100, Gabriel Dos Reis wrote:
| > Again, you are assuming that the only alternative available is that of
| > dumping the object representation. But that is not the only one!
|
| Hey, can you guys please cool it? Carlo made a very practical and
| concrete proposal: construct the mangling by substitution from
| exactly the literal character sequence the user wrote. Will it
| work, or won't it? If not, why not? If so, what's wrong?
It will not work. One reason was explained by DJ. Another is that
it does not reduce to a normal form before outputing leading to many
symbols being thought different while they are the same.
It is not like no other concrete and praticable proposal was made.
The C99 hex floating notation notation with the constraints
(1) no trailing zero for mantissa
(2) no leading zero for exponent
gives a normal form (or pretty close -- double check).
It has the advantage of being target independent. It differs from
(the current) object representation dumping in that it does not
one-precision-fits-all. It suffers of the problem that it uses "."
and "-", but those are easily fixed.
| We won't get anywhere arguing about what somebody did or didn't
| say, or mean.
oh, sure, but if everybody is ignoring what has been said, we won't
get anywhere either.
-- Gaby
- References:
- 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.
- 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.