[PATCH] PR libstdc++/13045 / C++ demangler, floating values and function pointer type return type postfix fix.
Gabriel Dos Reis
gdr@integrable-solutions.net
Tue Nov 25 02:25:00 GMT 2003
Carlo Wood <carlo@alinoe.com> writes:
| On Mon, Nov 24, 2003 at 01:36:53PM -0800, Geoff Keating wrote:
| > That might be reasonable for 'float' and 'double', but 'long double'
| > varies greatly between platforms.
|
| sizeof(long double) is > 8 I suppose? In that case it will
| print just the hex value: (double)[3ff999294912bc6120e95828]
| or actually, it currently would fail to demangle it,
| it doesn't support the 'long double' casts in literals.
I think there should be no need to cast a floating point literal to a
floaying point type. That sort of thing just add another level of
indeterminacy.
-- Gaby
More information about the Libstdc++
mailing list