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

Re: (C++) mangling vector types


On 11/12/2009 04:48 PM, Mark Mitchell wrote:
So, do you consider ABIv3 there only as a theoretical conformance
option?  In other words, not something we're going to make the default
in any forseeable future?  (Those aren't meant to be rhetorical
questions -- I'm just asking.)

That has been my thinking, but perhaps it does make sense to make that change with the C++0x library deployment; the impact should be pretty limited.


I'm surprised to see that EDG doesn't mimic this bug in G++ compatibility mode; in fact, they get mangle22.C wrong in a different way. The symbol should be

_Z1g2CBIL_Z3foocEE

-fabi-version=2 gives

_Z1g2CBILZ3foocEE

and EDG 4.1 gives

_Z1g2CBIXL_Z3foocEEE

(extra X/E around the name even though it's an expr-primary).

Jason


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