This is the mail archive of the gcc-bugs@gcc.gnu.org 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]

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


------- 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


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