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]

Re: At the C++ ABI switch, make -mregparm=1 the default on x86?


Martin v. Loewis wrote:
> The C++ ABI is typically defined in terms of the
> gABI, the psABI, and C++ specific extensions. This is also the case
> for the new C++ ABI, which is a multi-vendor agreement on calling
> conventions. If g++ would use other calling conventions, that would
> defeat the purpose of the ABI.

Ah, I didn't realise the new ABI was multi-vendor.  I thought it was
just an optimisation and a way to fix the bugs in the existing C++ ABI.

-- Jamie

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