public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/12225] New: Itanium ILP32 mode uses wrong long double size/alignment
@ 2003-09-09 17:44 mmitchel at gcc dot gnu dot org
  2003-11-02 22:42 ` [Bug target/12225] " pinskia at gcc dot gnu dot org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2003-09-09 17:44 UTC (permalink / raw)
  To: gcc-bugs

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.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug target/12225] Itanium ILP32 mode uses wrong long double size/alignment
  2003-09-09 17:44 [Bug target/12225] New: Itanium ILP32 mode uses wrong long double size/alignment mmitchel at gcc dot gnu dot org
@ 2003-11-02 22:42 ` pinskia at gcc dot gnu dot org
  2003-11-03  0:09 ` zack at gcc dot gnu dot org
  2003-12-09 18:24 ` dhazeghi at yahoo dot com
  2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-11-02 22:42 UTC (permalink / raw)
  To: gcc-bugs

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



------- Additional Comments From pinskia at gcc dot gnu dot org  2003-11-02 22:42 -------
Mark is this fixed with Zack's patch?


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug target/12225] Itanium ILP32 mode uses wrong long double size/alignment
  2003-09-09 17:44 [Bug target/12225] New: Itanium ILP32 mode uses wrong long double size/alignment mmitchel at gcc dot gnu dot org
  2003-11-02 22:42 ` [Bug target/12225] " pinskia at gcc dot gnu dot org
@ 2003-11-03  0:09 ` zack at gcc dot gnu dot org
  2003-12-09 18:24 ` dhazeghi at yahoo dot com
  2 siblings, 0 replies; 4+ messages in thread
From: zack at gcc dot gnu dot org @ 2003-11-03  0:09 UTC (permalink / raw)
  To: gcc-bugs

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


zack at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED


------- Additional Comments From zack at gcc dot gnu dot org  2003-11-03 00:09 -------
I can verify that GCC configured for ia64-hp-hpux11.22 gives long double size 16
align 8 in ILP32 mode, and size 16 align 16 in LP64 mode.

In principle my patch should also have set the correct size and alignment for
long double on systems that adhere to the psABI (hpux is not such a system) but
we do not have target support for any system that adheres to the psABI and
supports ILP32 mode so I cannot verify this.

I'm going to go ahead and close the bug.  If it turns out that ILP32 psABI mode
is still wrong, we can reopen this or file another bug then.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug target/12225] Itanium ILP32 mode uses wrong long double size/alignment
  2003-09-09 17:44 [Bug target/12225] New: Itanium ILP32 mode uses wrong long double size/alignment mmitchel at gcc dot gnu dot org
  2003-11-02 22:42 ` [Bug target/12225] " pinskia at gcc dot gnu dot org
  2003-11-03  0:09 ` zack at gcc dot gnu dot org
@ 2003-12-09 18:24 ` dhazeghi at yahoo dot com
  2 siblings, 0 replies; 4+ messages in thread
From: dhazeghi at yahoo dot com @ 2003-12-09 18:24 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |3.4


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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2003-12-09 18:24 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-09-09 17:44 [Bug target/12225] New: Itanium ILP32 mode uses wrong long double size/alignment mmitchel at gcc dot gnu dot org
2003-11-02 22:42 ` [Bug target/12225] " pinskia at gcc dot gnu dot org
2003-11-03  0:09 ` zack at gcc dot gnu dot org
2003-12-09 18:24 ` dhazeghi at yahoo dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).