This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/12225] New: Itanium ILP32 mode uses wrong long double size/alignment
- From: "mmitchel at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 9 Sep 2003 17:44:02 -0000
- Subject: [Bug target/12225] New: Itanium ILP32 mode uses wrong long double size/alignment
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12225
Summary: Itanium ILP32 mode uses wrong long double size/alignment
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: target
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: mmitchel at gcc dot gnu dot org
CC: gcc-bugs at gcc dot gnu dot org,rth at redhat dot com
GCC target triplet: ia64-*-*
The Itanium psABI says that in ILP32 mode long double should have size 12 and
alignment 4. However, GCC uses the same size/alignment that it uses in LP64 mode.
Only HP-UX presently provides runtime support for ILP32 mode, so there is no
harm in changing the current behavior on other systems.
On HP-UX, long double should have size 16 and alignment 8 in IPL32 mode; HP-UX
uses IEEE Quad for long double, not IEEE Double-Extended.