This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: New C++ ABI and -freg-struct-return?
- To: russ at amc dot com
- Subject: Re: New C++ ABI and -freg-struct-return?
- From: "Martin v. Loewis" <martin at loewis dot home dot cs dot tu-berlin dot de>
- Date: Sat, 24 Jun 2000 21:26:12 +0200
- CC: suckfish at ihug dot co dot nz, gcc at gcc dot gnu dot org
- References: <200006221659.JAA15160@coho.amc.com>
> Is there a formal C/C++ ABI for gnu ix86?
g++ follows "mostly" the gABI and psABI of the platform, at least on
platforms that use the gABI and the psABI (e.g. Linux). That applies
in particular to calling conventions.
For the C++ parts of the ABI (virtual methods, inheritance, etc), no
formal ABI exists. For these parts, g++ 3 will use the emerging
standard ABI, see
http://reality.sgi.com/dehnert_engr/cxx/cxx-summary.html.
> I've been trying to find one for months and have been told by
> knowledgeable people that the only reliable documentation is the gcc
> source code.
For gcc 2, this is certainly the case. For gcc 3, it will be better
due to the new ABI.
Regards,
Martin