This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/29209] ICE optimizing passing long double to abstract method while in other abstract's impl
- From: "dave at hiauly1 dot hia dot nrc dot ca" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 3 Feb 2007 14:47:51 -0000
- Subject: [Bug c++/29209] ICE optimizing passing long double to abstract method while in other abstract's impl
- References: <bug-29209-9385@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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