This is the mail archive of the
mailing list for the GCC project.
Re: gcc 3.0.1 & C++ ABI issues
- To: Gabriel Dos Reis <gdr at codesourcery dot com>
- Subject: Re: gcc 3.0.1 & C++ ABI issues
- From: David Edelsohn <dje at watson dot ibm dot com>
- Date: Tue, 07 Aug 2001 17:20:48 -0400
- cc: Jason Merrill <jason_merrill at redhat dot com>, Gabriel Dos_Reis <gdosreis at sophia dot inria dot fr>, Gabriel Dos_Reis <Gabriel dot Dos_Reis at sophia dot inria dot fr>, Nathan Sidwell <nathan at codesourcery dot com>, Mark Mitchell <mark at codesourcery dot com>, "gcc at gcc dot gnu dot org" <gcc at gcc dot gnu dot org>
>>>>> Gabriel Dos Reis writes:
> Jason Merrill <firstname.lastname@example.org> writes:
Jason> | IMO, optimizing this case is not important anyway; who passes complex
Jason> | objects by value?
Gaby> Numericists :-) (Note also that B. Stroustrup in TC++PL3 encourages
Gaby> passing by value object of concrete classes such as complex<>).
Gaby> Passing "small" objects such as complex<> by value is seen to be
Gaby> superior to passing by const reference.
FYI, IBM AIX ABI and 64-bit PowerPC Linux ABI pass complex and
long double by value. It's a definite advantage for numerically intensive
computing, which is the main environment in which those types would be