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

ian at airs dot com gcc-bugzilla@gcc.gnu.org
Sun Jan 11 22:50:00 GMT 2004


------- Additional Comments From ian at airs dot com  2004-01-11 22:50 -------
Subject: Re:  g++ does not follow mangling ABI for pointer to qualified member function

"dberlin at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org> writes:

> ICC 6, 7, 7.1, and 8.0 produce
> 00000000 T _Z1rM1GFivEMS_KFivES_M1HFivES1_4whatIKS_E5what2IS8_ES3_
> 
> 
> IE the same as gcc.
> 
> 
> Thus, if we changed gcc to be "correct", we'd actually *break* compatibility with at least one other 
> compiler.

That's good to hear.  Personally, I think that changing the ABI is a
better option than changing the compiler.

Ian


-- 


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



More information about the Gcc-bugs mailing list