This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
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