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: gcc 3.0.1 & C++ ABI issues


>>>>> 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


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