This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: [C++] comptypes and TYPENAME_TYPE
Mark Mitchell <mark@codesourcery.com> wrote:
> Anyhow, the mangling of the operator name should
> include the typename type -- as a typename type.
In fact, the mangled name does not contain the typename type. It's the
original tree that does, and when we're comparing the two to detect ABI bugs
the comparison fails because of this difference.
> I will look at the test case, but my guess is that it may make sense to
> remove the use of same_type_p in mangle_conv_op_name_for_type, and the
> error message that goes with it.
I see.
Giovanni Bajo