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.
Gabriel Dos Reis <gdr@integrable-solutions.net> writes:
| Ian Lance Taylor <ian@wasabisystems.com> writes:
|
| [...]
|
| | > 5.1.5 Type encodings
| | >
| | > Note that the expression is mangled without constant folding or other
| | > simplification, and without parentheses, which are implicit in the
| | > prefix representation. Except for the parentheses, therefore, it
| | > represents the source token stream. (C++ Standard reference 14.5.5.1
| | > p. 5.)
| |
| | If the expression represents the source token stream, then are these
| | meant to be equivalent or different:
| | A<1+(int)1.0>
| | A<1+(int)1.00>
| | ?
|
| In another words, does the Standard say that the tokens 1.0 and 1.00
| are different?
I would answer no. I think 1.0 and 1.00 are just different spellings
for the same token, much in the same way bitor and | different
spellings for the same token -- although the latter equivalence is
clear from the Standard.
-- 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.
- 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 andfunction 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.