This is the mail archive of the gcc-bugs@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]
Other format: [Raw text]

[Bug c++/29209] ICE optimizing passing long double to abstract method while in other abstract's impl



------- Comment #6 from dave at hiauly1 dot hia dot nrc dot ca  2007-02-03 14:47 -------
Subject: Re:  ICE optimizing passing long double to abstract method while in
other abstract's impl

> ------- Comment #5 from tbm at cyrius dot com  2007-02-03 09:45 -------
> I don't see this with Linux on HPPA hardware.  Steve Ellcey, can you try on
> HPUX please?

The treatment of long doubles on HPUX and Linux is different.  Long
doubles are 128-bit IEEE format on HPUX.  They are 64-bit IEEE format
on Linux (i.e., same as double).  Arguments larger than 64 bits are
passed by indirect reference.  Thus, the 128-bit format is always passed
by reference.  Smaller arguments are passed by value.

Dave


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29209


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