Mangling change between gcc 3.0 and gcc 3.1

Matt Austern austern@apple.com
Wed Nov 6 17:25:00 GMT 2002


On Wednesday, November 6, 2002, at 05:11  PM, Gabriel Dos Reis wrote:

> Matt Austern <austern@apple.com> writes:
>
> | Obviously this is a bug in 3.1 or 3.2: either the
> | compiler or the demangler is wrong.  The question
> | I don't know: which is it?
>
> Maybe I'm wrong but I think there are some notes to that effect in
> cp/NEWS:
>
>   *** Changes in GCC 3.1:
>
>   [...]
>
>   * The C++ ABI has been fixed so that `void (A::*)() const' is 
> mangled as
>     "M1AKFvvE", rather than "MK1AFvvE" as before.  This change only 
> affects
>     pointer to cv-qualified member function types.

Thanks, that's quite clear.  So it looks like the problem is that
a mangler bug was fixed in 3.1, but that nobody ever made the
corresponding fix in the demangler.

			--Matt




More information about the Gcc mailing list