------- Comment #4 from ian at airs dot com 2006-08-24 06:20 ------- Where did you get your list of symbol names and demangled strings?
As Andrew has pointed out, there seem to be a few different issues here: different spacing, different qualifier order, different handling of floating point constants. It may well be appropriate to change gcc's demangler, but in my opinion these different issues should be handled as different problem reports. Other than those issues, I see one serious issue in this list: _Z1fM1AKiPKS1_, which the gcc demangler does not demangle, but you propose should be demangled as f(int const A::*, int const A::*const*). I have to agree with you that there appears to be something wrong with the demangler in this case. It is related to the long comment in d_pointer_to_member_type in cp-demangle.c. When I wrote that comment I believed that it was correct. However, it appears to now be incorrect. I haven't yet been able to track down the change to gcc which affected this. It is also possible that I was simply mistaken. -- ian at airs dot com changed: What |Removed |Added ---------------------------------------------------------------------------- CC|ian at gcc dot gnu dot org |ian at airs dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28797