This is the mail archive of the mailing list for the GCC project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] PR libstdc++/13045 / C++ demangler, floating values and function pointer type return type postfix fix.

Carlo Wood <> writes:

| On Tue, Nov 25, 2003 at 11:47:15PM +0100, Gabriel Dos Reis wrote:
| > | I am getting tired of this disussion... when are people
| > | putting floating point values at all in template parameters?
| > 
| > Because it is part of well-formed expressions?  
| So far I could only manage to get a float into a symbol
| by casting it directly to an int...  well-formed, but
| not very practically.  I am not saying that the compiler
| should ICE - I am just saying that we are REALLY wasting
| our time with this with regard to demangling issues:
| demangling is practical stuff, not theoretical.

I do not think it is a theoretical issue. 
Whether, it is "very practical" is a subjective decision.  You can
either decide that you won't implement it; in that case, just sorry --
giving user a clear, unambiguous diagnostic. Or implement it, in a way 
that does not trump.  Rather sorry than oops.

-- Gaby

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]