public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/28207]  New: 128-bit IBM long double misaligned on stack
@ 2006-06-30 10:10 amodra at bigpond dot net dot au
  2006-06-30 10:11 ` [Bug target/28207] " amodra at bigpond dot net dot au
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: amodra at bigpond dot net dot au @ 2006-06-30 10:10 UTC (permalink / raw)
  To: gcc-bugs

long doubles are only aligned to word boundaries when passed via the stack (ie.
to a function that uses more than 8 fp regs for other parameters).  The va_arg
support expects long doubles to be double word aligned, resulting in a mismatch
between caller and callee for variable argument functions.


-- 
           Summary: 128-bit IBM long double misaligned on stack
           Product: gcc
           Version: 4.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: amodra at bigpond dot net dot au
GCC target triplet: powerpc-linux


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


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

* [Bug target/28207] 128-bit IBM long double misaligned on stack
  2006-06-30 10:10 [Bug target/28207] New: 128-bit IBM long double misaligned on stack amodra at bigpond dot net dot au
@ 2006-06-30 10:11 ` amodra at bigpond dot net dot au
  2006-06-30 10:52 ` amodra at bigpond dot net dot au
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: amodra at bigpond dot net dot au @ 2006-06-30 10:11 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from amodra at bigpond dot net dot au  2006-06-30 10:10 -------
Created an attachment (id=11783)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11783&action=view)
testcase


-- 


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


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

* [Bug target/28207] 128-bit IBM long double misaligned on stack
  2006-06-30 10:10 [Bug target/28207] New: 128-bit IBM long double misaligned on stack amodra at bigpond dot net dot au
  2006-06-30 10:11 ` [Bug target/28207] " amodra at bigpond dot net dot au
@ 2006-06-30 10:52 ` amodra at bigpond dot net dot au
  2006-07-04  3:36 ` amodra at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: amodra at bigpond dot net dot au @ 2006-06-30 10:52 UTC (permalink / raw)
  To: gcc-bugs



-- 

amodra at bigpond dot net dot au changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2006-06-30 10:11:04
               date|                            |


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


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

* [Bug target/28207] 128-bit IBM long double misaligned on stack
  2006-06-30 10:10 [Bug target/28207] New: 128-bit IBM long double misaligned on stack amodra at bigpond dot net dot au
  2006-06-30 10:11 ` [Bug target/28207] " amodra at bigpond dot net dot au
  2006-06-30 10:52 ` amodra at bigpond dot net dot au
@ 2006-07-04  3:36 ` amodra at gcc dot gnu dot org
  2006-07-04  4:38 ` amodra at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: amodra at gcc dot gnu dot org @ 2006-07-04  3:36 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from amodra at gcc dot gnu dot org  2006-07-04 03:35 -------
Subject: Bug 28207

Author: amodra
Date: Tue Jul  4 03:35:48 2006
New Revision: 115170

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=115170
Log:
        PR target/28207
        * config/rs6000/rs6000.c (function_arg_boundary): Double-word align
        128-bit IBM long doubles for ABI_V4.


Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/rs6000/rs6000.c


-- 


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


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

* [Bug target/28207] 128-bit IBM long double misaligned on stack
  2006-06-30 10:10 [Bug target/28207] New: 128-bit IBM long double misaligned on stack amodra at bigpond dot net dot au
                   ` (2 preceding siblings ...)
  2006-07-04  3:36 ` amodra at gcc dot gnu dot org
@ 2006-07-04  4:38 ` amodra at gcc dot gnu dot org
  2006-07-04  4:41 ` amodra at bigpond dot net dot au
  2006-12-20 16:31 ` dje at gcc dot gnu dot org
  5 siblings, 0 replies; 7+ messages in thread
From: amodra at gcc dot gnu dot org @ 2006-07-04  4:38 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from amodra at gcc dot gnu dot org  2006-07-04 04:38 -------
Subject: Bug 28207

Author: amodra
Date: Tue Jul  4 04:37:59 2006
New Revision: 115171

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=115171
Log:
        PR target/28207
        * config/rs6000/rs6000.c (function_arg_boundary): Double-word align
        128-bit IBM long doubles for ABI_V4.


Modified:
    branches/gcc-4_1-branch/gcc/ChangeLog
    branches/gcc-4_1-branch/gcc/config/rs6000/rs6000.c


-- 


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


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

* [Bug target/28207] 128-bit IBM long double misaligned on stack
  2006-06-30 10:10 [Bug target/28207] New: 128-bit IBM long double misaligned on stack amodra at bigpond dot net dot au
                   ` (3 preceding siblings ...)
  2006-07-04  4:38 ` amodra at gcc dot gnu dot org
@ 2006-07-04  4:41 ` amodra at bigpond dot net dot au
  2006-12-20 16:31 ` dje at gcc dot gnu dot org
  5 siblings, 0 replies; 7+ messages in thread
From: amodra at bigpond dot net dot au @ 2006-07-04  4:41 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from amodra at bigpond dot net dot au  2006-07-04 04:41 -------
Patch applied 4.1 and 4.2


-- 

amodra at bigpond dot net dot au changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                URL|                            |http://gcc.gnu.org/ml/gcc-
                   |                            |patches/2006-
                   |                            |07/msg00085.html
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED


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


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

* [Bug target/28207] 128-bit IBM long double misaligned on stack
  2006-06-30 10:10 [Bug target/28207] New: 128-bit IBM long double misaligned on stack amodra at bigpond dot net dot au
                   ` (4 preceding siblings ...)
  2006-07-04  4:41 ` amodra at bigpond dot net dot au
@ 2006-12-20 16:31 ` dje at gcc dot gnu dot org
  5 siblings, 0 replies; 7+ messages in thread
From: dje at gcc dot gnu dot org @ 2006-12-20 16:31 UTC (permalink / raw)
  To: gcc-bugs



-- 

dje at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dje at gcc dot gnu dot org
   Target Milestone|---                         |4.1.2


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


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

end of thread, other threads:[~2006-12-20 16:31 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-06-30 10:10 [Bug target/28207] New: 128-bit IBM long double misaligned on stack amodra at bigpond dot net dot au
2006-06-30 10:11 ` [Bug target/28207] " amodra at bigpond dot net dot au
2006-06-30 10:52 ` amodra at bigpond dot net dot au
2006-07-04  3:36 ` amodra at gcc dot gnu dot org
2006-07-04  4:38 ` amodra at gcc dot gnu dot org
2006-07-04  4:41 ` amodra at bigpond dot net dot au
2006-12-20 16:31 ` dje at gcc dot gnu dot org

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).