C++ support for decimal floating point
Jason Merrill
jason@redhat.com
Wed Sep 30 07:17:00 GMT 2009
On 09/29/2009 04:23 PM, Janis Johnson wrote:
> The PowerPC 32-bit ELF ABI says that a struct is passed as a pointer
> to an object or a copy of the object. Classes are treated the same
> as classes. Does the C++ ABI have rules about classes like
> std::complex that would cause them to be treated differently?
No. Classes that are trivially copyable (such as complex) are passed
according to the C ABI, which is suboptimal for many popular architectures.
Jason
More information about the Gcc
mailing list