gcc 3.0.1 & C++ ABI issues
David Edelsohn
dje@watson.ibm.com
Tue Aug 7 14:21:00 GMT 2001
>>>>> Gabriel Dos Reis writes:
> Jason Merrill <jason_merrill@redhat.com> 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
used.
David
More information about the Gcc
mailing list