[Bug c++/13316] g++ does not follow mangling ABI for pointer to qualified member function

mmitchel at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Fri Feb 20 08:51:00 GMT 2004


------- Additional Comments From mmitchel at gcc dot gnu dot org  2004-02-20 08:51 -------
The intent of the ABI is that two member function types should be considered
identical for substitution purposes only if they have the same argument types,
same return types, save cv-qualification, and are members are of the same class.

That's not clearly expressed.

The ABI does clearly express that namespace-scope function types are considered
different from member function types.

Therefore, EDG and G++ have implemented the ABI correctly.

HP's compiler differs, but it is incorrect.  (It does not even distinguish
between the namespace-scope function type and the member function type.)

I will post a message to the ABI list to update the ABI specification.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13316



More information about the Gcc-bugs mailing list