public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/46057] New: All stackalign tests fail on hppa-hpux
@ 2010-10-17 16:39 danglin at gcc dot gnu.org
  2010-10-17 18:19 ` [Bug target/46057] " danglin at gcc dot gnu.org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: danglin at gcc dot gnu.org @ 2010-10-17 16:39 UTC (permalink / raw)
  To: gcc-bugs

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

           Summary: All stackalign tests fail on hppa-hpux
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: danglin@gcc.gnu.org
              Host: hppa2.0w-hp-hpux11.11
            Target: hppa2.0w-hp-hpux11.11
             Build: hppa2.0w-hp-hpux11.11


FAIL: gcc.dg/torture/stackalign/alloca-1.c  -O0  execution test
FAIL: gcc.dg/torture/stackalign/alloca-1.c  -O1  execution test
FAIL: gcc.dg/torture/stackalign/alloca-1.c  -O2  execution test
FAIL: gcc.dg/torture/stackalign/alloca-1.c  -Os  execution test
FAIL: gcc.dg/torture/stackalign/global-1.c  -O0  execution test
FAIL: gcc.dg/torture/stackalign/global-1.c  -O1  execution test
FAIL: gcc.dg/torture/stackalign/global-1.c  -O2  execution test
FAIL: gcc.dg/torture/stackalign/global-1.c  -Os  execution test
FAIL: gcc.dg/torture/stackalign/inline-1.c  -O0  execution test
FAIL: gcc.dg/torture/stackalign/inline-1.c  -O1  execution test
FAIL: gcc.dg/torture/stackalign/inline-1.c  -O2  execution test
FAIL: gcc.dg/torture/stackalign/inline-1.c  -O3 -fomit-frame-pointer  execution 
test
FAIL: gcc.dg/torture/stackalign/inline-1.c  -O3 -g  execution test
FAIL: gcc.dg/torture/stackalign/inline-1.c  -Os  execution test
FAIL: gcc.dg/torture/stackalign/inline-2.c  -O0  execution test
FAIL: gcc.dg/torture/stackalign/inline-2.c  -O1  execution test
FAIL: gcc.dg/torture/stackalign/inline-2.c  -O2  execution test
FAIL: gcc.dg/torture/stackalign/inline-2.c  -O3 -fomit-frame-pointer  execution 
test
FAIL: gcc.dg/torture/stackalign/inline-2.c  -O3 -g  execution test
FAIL: gcc.dg/torture/stackalign/inline-2.c  -Os  execution test
FAIL: gcc.dg/torture/stackalign/nested-1.c  -O0  execution test
FAIL: gcc.dg/torture/stackalign/nested-1.c  -O1  execution test
FAIL: gcc.dg/torture/stackalign/nested-1.c  -O2  execution test
FAIL: gcc.dg/torture/stackalign/nested-1.c  -Os  execution test
FAIL: gcc.dg/torture/stackalign/nested-2.c  -O0  execution test
FAIL: gcc.dg/torture/stackalign/nested-2.c  -O1  execution test
FAIL: gcc.dg/torture/stackalign/nested-2.c  -O2  execution test
FAIL: gcc.dg/torture/stackalign/nested-2.c  -O3 -fomit-frame-pointer  execution 
test
FAIL: gcc.dg/torture/stackalign/nested-2.c  -O3 -g  execution test
FAIL: gcc.dg/torture/stackalign/nested-2.c  -Os  execution test
FAIL: gcc.dg/torture/stackalign/nested-3.c  -O0  execution test
FAIL: gcc.dg/torture/stackalign/nested-3.c  -O1  execution test
FAIL: gcc.dg/torture/stackalign/nested-3.c  -O2  execution test
FAIL: gcc.dg/torture/stackalign/nested-3.c  -O3 -fomit-frame-pointer  execution 
test
FAIL: gcc.dg/torture/stackalign/nested-3.c  -O3 -g  execution test
FAIL: gcc.dg/torture/stackalign/nested-3.c  -Os  execution test
FAIL: gcc.dg/torture/stackalign/nested-4.c  -O0  execution test
FAIL: gcc.dg/torture/stackalign/nested-4.c  -O1  execution test
FAIL: gcc.dg/torture/stackalign/nested-4.c  -O2  execution test
FAIL: gcc.dg/torture/stackalign/nested-4.c  -Os  execution test
FAIL: gcc.dg/torture/stackalign/pr16660-1.c  -O0  execution test
FAIL: gcc.dg/torture/stackalign/pr16660-1.c  -O1  execution test
FAIL: gcc.dg/torture/stackalign/pr16660-1.c  -O2  execution test
FAIL: gcc.dg/torture/stackalign/pr16660-1.c  -Os  execution test
FAIL: gcc.dg/torture/stackalign/ret-struct-1.c  -O0  execution test
FAIL: gcc.dg/torture/stackalign/ret-struct-1.c  -O1  execution test
FAIL: gcc.dg/torture/stackalign/ret-struct-1.c  -O2  execution test
FAIL: gcc.dg/torture/stackalign/ret-struct-1.c  -Os  execution test
FAIL: gcc.dg/torture/stackalign/struct-1.c  -O0  execution test
FAIL: gcc.dg/torture/stackalign/struct-1.c  -O1  execution test
FAIL: gcc.dg/torture/stackalign/struct-1.c  -O2  execution test
FAIL: gcc.dg/torture/stackalign/struct-1.c  -Os  execution test
FAIL: gcc.dg/torture/stackalign/vararg-1.c  -O0  execution test
FAIL: gcc.dg/torture/stackalign/vararg-1.c  -O1  execution test
FAIL: gcc.dg/torture/stackalign/vararg-1.c  -O2  execution test
FAIL: gcc.dg/torture/stackalign/vararg-1.c  -Os  execution test
FAIL: gcc.dg/torture/stackalign/vararg-2.c  -O0  execution test
FAIL: gcc.dg/torture/stackalign/vararg-2.c  -O1  execution test
FAIL: gcc.dg/torture/stackalign/vararg-2.c  -O2  execution test
FAIL: gcc.dg/torture/stackalign/vararg-2.c  -Os  execution test
FAIL: gcc.dg/torture/stackalign/alloca-1.c  -O0  execution test
FAIL: gcc.dg/torture/stackalign/alloca-1.c  -O1  execution test
FAIL: gcc.dg/torture/stackalign/alloca-1.c  -O2  execution test
FAIL: gcc.dg/torture/stackalign/alloca-1.c  -O3 -fomit-frame-pointer  execution 
test
FAIL: gcc.dg/torture/stackalign/alloca-1.c  -O3 -g  execution test
FAIL: gcc.dg/torture/stackalign/alloca-1.c  -Os  execution test
FAIL: gcc.dg/torture/stackalign/global-1.c  -O0  execution test
FAIL: gcc.dg/torture/stackalign/global-1.c  -O1  execution test
FAIL: gcc.dg/torture/stackalign/global-1.c  -O2  execution test
FAIL: gcc.dg/torture/stackalign/global-1.c  -O3 -fomit-frame-pointer  execution 
test
FAIL: gcc.dg/torture/stackalign/global-1.c  -O3 -g  execution test
FAIL: gcc.dg/torture/stackalign/global-1.c  -Os  execution test
FAIL: gcc.dg/torture/stackalign/inline-1.c  -O0  execution test
FAIL: gcc.dg/torture/stackalign/inline-1.c  -O1  execution test
FAIL: gcc.dg/torture/stackalign/inline-1.c  -O2  execution test
FAIL: gcc.dg/torture/stackalign/inline-1.c  -O3 -fomit-frame-pointer  execution 
test
FAIL: gcc.dg/torture/stackalign/inline-1.c  -O3 -g  execution test
FAIL: gcc.dg/torture/stackalign/inline-1.c  -Os  execution test
FAIL: gcc.dg/torture/stackalign/inline-2.c  -O0  execution test
FAIL: gcc.dg/torture/stackalign/inline-2.c  -O1  execution test
FAIL: gcc.dg/torture/stackalign/inline-2.c  -O2  execution test
FAIL: gcc.dg/torture/stackalign/inline-2.c  -O3 -fomit-frame-pointer  execution 
test
FAIL: gcc.dg/torture/stackalign/inline-2.c  -O3 -g  execution test
FAIL: gcc.dg/torture/stackalign/inline-2.c  -Os  execution test
FAIL: gcc.dg/torture/stackalign/nested-1.c  -O0  execution test
FAIL: gcc.dg/torture/stackalign/nested-1.c  -O1  execution test
FAIL: gcc.dg/torture/stackalign/nested-1.c  -O2  execution test
FAIL: gcc.dg/torture/stackalign/nested-1.c  -O3 -fomit-frame-pointer  execution 
test
FAIL: gcc.dg/torture/stackalign/nested-1.c  -O3 -g  execution test
FAIL: gcc.dg/torture/stackalign/nested-1.c  -Os  execution test
FAIL: gcc.dg/torture/stackalign/nested-2.c  -O0  execution test
FAIL: gcc.dg/torture/stackalign/nested-2.c  -O1  execution test
FAIL: gcc.dg/torture/stackalign/nested-2.c  -O2  execution test
FAIL: gcc.dg/torture/stackalign/nested-2.c  -O3 -fomit-frame-pointer  execution 
test
FAIL: gcc.dg/torture/stackalign/nested-2.c  -O3 -g  execution test
FAIL: gcc.dg/torture/stackalign/nested-2.c  -Os  execution test
FAIL: gcc.dg/torture/stackalign/nested-3.c  -O0  execution test
FAIL: gcc.dg/torture/stackalign/nested-3.c  -O1  execution test
FAIL: gcc.dg/torture/stackalign/nested-3.c  -O2  execution test
FAIL: gcc.dg/torture/stackalign/nested-3.c  -O3 -fomit-frame-pointer  execution 
test
FAIL: gcc.dg/torture/stackalign/nested-3.c  -O3 -g  execution test
FAIL: gcc.dg/torture/stackalign/nested-3.c  -Os  execution test
FAIL: gcc.dg/torture/stackalign/nested-4.c  -O0  execution test
FAIL: gcc.dg/torture/stackalign/nested-4.c  -O1  execution test
FAIL: gcc.dg/torture/stackalign/nested-4.c  -O2  execution test
FAIL: gcc.dg/torture/stackalign/nested-4.c  -O3 -fomit-frame-pointer  execution 
test
FAIL: gcc.dg/torture/stackalign/nested-4.c  -O3 -g  execution test
FAIL: gcc.dg/torture/stackalign/nested-4.c  -Os  execution test
FAIL: gcc.dg/torture/stackalign/pr16660-1.c  -O0  execution test
FAIL: gcc.dg/torture/stackalign/pr16660-1.c  -O1  execution test
FAIL: gcc.dg/torture/stackalign/pr16660-1.c  -O2  execution test
FAIL: gcc.dg/torture/stackalign/pr16660-1.c  -O3 -fomit-frame-pointer 
execution
 test
FAIL: gcc.dg/torture/stackalign/pr16660-1.c  -O3 -g  execution test
FAIL: gcc.dg/torture/stackalign/pr16660-1.c  -Os  execution test
FAIL: gcc.dg/torture/stackalign/ret-struct-1.c  -O0  execution test
FAIL: gcc.dg/torture/stackalign/ret-struct-1.c  -O1  execution test
FAIL: gcc.dg/torture/stackalign/ret-struct-1.c  -O2  execution test
FAIL: gcc.dg/torture/stackalign/ret-struct-1.c  -O3 -fomit-frame-pointer 
execut
ion test
FAIL: gcc.dg/torture/stackalign/ret-struct-1.c  -O3 -g  execution test
FAIL: gcc.dg/torture/stackalign/ret-struct-1.c  -Os  execution test
FAIL: gcc.dg/torture/stackalign/struct-1.c  -O0  execution test
FAIL: gcc.dg/torture/stackalign/struct-1.c  -O1  execution test
FAIL: gcc.dg/torture/stackalign/struct-1.c  -O2  execution test
FAIL: gcc.dg/torture/stackalign/struct-1.c  -O3 -fomit-frame-pointer  execution 
test
FAIL: gcc.dg/torture/stackalign/struct-1.c  -O3 -g  execution test
FAIL: gcc.dg/torture/stackalign/struct-1.c  -Os  execution test
FAIL: gcc.dg/torture/stackalign/vararg-1.c  -O0  execution test
FAIL: gcc.dg/torture/stackalign/vararg-1.c  -O1  execution test
FAIL: gcc.dg/torture/stackalign/vararg-1.c  -O2  execution test
FAIL: gcc.dg/torture/stackalign/vararg-1.c  -O3 -fomit-frame-pointer  execution 
test
FAIL: gcc.dg/torture/stackalign/vararg-1.c  -O3 -g  execution test
FAIL: gcc.dg/torture/stackalign/vararg-1.c  -Os  execution test
FAIL: gcc.dg/torture/stackalign/vararg-2.c  -O0  execution test
FAIL: gcc.dg/torture/stackalign/vararg-2.c  -O1  execution test
FAIL: gcc.dg/torture/stackalign/vararg-2.c  -O2  execution test
FAIL: gcc.dg/torture/stackalign/vararg-2.c  -O3 -fomit-frame-pointer  execution 
test
FAIL: gcc.dg/torture/stackalign/vararg-2.c  -O3 -g  execution test
FAIL: gcc.dg/torture/stackalign/vararg-2.c  -Os  execution test

Looking at the failure of gcc.dg/torture/stackalign/alloca-1.c, it appears
that the failure is a result of the 16-byte stack alignment provided to
main.


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

* [Bug target/46057] All stackalign tests fail on hppa-hpux
  2010-10-17 16:39 [Bug target/46057] New: All stackalign tests fail on hppa-hpux danglin at gcc dot gnu.org
@ 2010-10-17 18:19 ` danglin at gcc dot gnu.org
  2010-12-09 22:16 ` [Bug target/46057] Most " danglin at gcc dot gnu.org
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: danglin at gcc dot gnu.org @ 2010-10-17 18:19 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from John David Anglin <danglin at gcc dot gnu.org> 2010-10-17 18:19:47 UTC ---
Actually, only test with ALIGNMENT greater than 16 fail.


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

* [Bug target/46057] Most stackalign tests fail on hppa-hpux
  2010-10-17 16:39 [Bug target/46057] New: All stackalign tests fail on hppa-hpux danglin at gcc dot gnu.org
  2010-10-17 18:19 ` [Bug target/46057] " danglin at gcc dot gnu.org
@ 2010-12-09 22:16 ` danglin at gcc dot gnu.org
  2012-01-29 23:34 ` steven at gcc dot gnu.org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: danglin at gcc dot gnu.org @ 2010-12-09 22:16 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from John David Anglin <danglin at gcc dot gnu.org> 2010-12-09 22:15:41 UTC ---
Author: danglin
Date: Thu Dec  9 22:15:32 2010
New Revision: 167667

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=167667
Log:
    PR target/46057
    * gcc.dg/torture/stackalign/nested-1.c: Skip on hppa*-*-hpux*.
    * gcc.dg/torture/stackalign/vararg-1.c: Likewise.
    * gcc.dg/torture/stackalign/nested-2.c: Likewise.
    * gcc.dg/torture/stackalign/vararg-2.c: Likewise.
    * gcc.dg/torture/stackalign/nested-3.c: Likewise.
    * gcc.dg/torture/stackalign/nested-4.c: Likewise.
    * gcc.dg/torture/stackalign/global-1.c: Likewise.
    * gcc.dg/torture/stackalign/ret-struct-1.c: Likewise.
    * gcc.dg/torture/stackalign/inline-1.c: Likewise.
    * gcc.dg/torture/stackalign/inline-2.c: Likewise.
    * gcc.dg/torture/stackalign/struct-1.c: Likewise.
    * gcc.dg/torture/stackalign/pr16660-1.c: Likewise.
    * gcc.dg/torture/stackalign/alloca-1.c: Likewise.
    * g++.dg/torture/stackalign/throw-1.C: Likewise.
    * g++.dg/torture/stackalign/throw-2.C: Likewise.
    * g++.dg/torture/stackalign/throw-4.C: Likewise.
    * g++.dg/torture/stackalign/eh-inline-1.C: Likewise.
    * g++.dg/torture/stackalign/eh-inline-2.C: Likewise.
    * g++.dg/torture/stackalign/eh-vararg-1.C: Likewise.
    * g++.dg/torture/stackalign/eh-vararg-2.C: Likewise.
    * g++.dg/torture/stackalign/eh-alloca-1.C: Likewise.
    * g++.dg/torture/stackalign/eh-global-1.C: Likewise.


Modified:
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/g++.dg/torture/stackalign/eh-alloca-1.C
    trunk/gcc/testsuite/g++.dg/torture/stackalign/eh-global-1.C
    trunk/gcc/testsuite/g++.dg/torture/stackalign/eh-inline-1.C
    trunk/gcc/testsuite/g++.dg/torture/stackalign/eh-inline-2.C
    trunk/gcc/testsuite/g++.dg/torture/stackalign/eh-vararg-1.C
    trunk/gcc/testsuite/g++.dg/torture/stackalign/eh-vararg-2.C
    trunk/gcc/testsuite/g++.dg/torture/stackalign/throw-1.C
    trunk/gcc/testsuite/g++.dg/torture/stackalign/throw-2.C
    trunk/gcc/testsuite/g++.dg/torture/stackalign/throw-4.C
    trunk/gcc/testsuite/gcc.dg/torture/stackalign/alloca-1.c
    trunk/gcc/testsuite/gcc.dg/torture/stackalign/global-1.c
    trunk/gcc/testsuite/gcc.dg/torture/stackalign/inline-1.c
    trunk/gcc/testsuite/gcc.dg/torture/stackalign/inline-2.c
    trunk/gcc/testsuite/gcc.dg/torture/stackalign/nested-1.c
    trunk/gcc/testsuite/gcc.dg/torture/stackalign/nested-2.c
    trunk/gcc/testsuite/gcc.dg/torture/stackalign/nested-3.c
    trunk/gcc/testsuite/gcc.dg/torture/stackalign/nested-4.c
    trunk/gcc/testsuite/gcc.dg/torture/stackalign/pr16660-1.c
    trunk/gcc/testsuite/gcc.dg/torture/stackalign/ret-struct-1.c
    trunk/gcc/testsuite/gcc.dg/torture/stackalign/struct-1.c
    trunk/gcc/testsuite/gcc.dg/torture/stackalign/vararg-1.c
    trunk/gcc/testsuite/gcc.dg/torture/stackalign/vararg-2.c


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

* [Bug target/46057] Most stackalign tests fail on hppa-hpux
  2010-10-17 16:39 [Bug target/46057] New: All stackalign tests fail on hppa-hpux danglin at gcc dot gnu.org
  2010-10-17 18:19 ` [Bug target/46057] " danglin at gcc dot gnu.org
  2010-12-09 22:16 ` [Bug target/46057] Most " danglin at gcc dot gnu.org
@ 2012-01-29 23:34 ` steven at gcc dot gnu.org
  2012-01-30  0:13 ` dave.anglin at bell dot net
  2012-01-30 18:22 ` danglin at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: steven at gcc dot gnu.org @ 2012-01-29 23:34 UTC (permalink / raw)
  To: gcc-bugs

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

Steven Bosscher <steven at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING
   Last reconfirmed|                            |2012-01-29
                 CC|                            |steven at gcc dot gnu.org
     Ever Confirmed|0                           |1

--- Comment #3 from Steven Bosscher <steven at gcc dot gnu.org> 2012-01-29 23:16:32 UTC ---
So, fixed? Or suspended?


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

* [Bug target/46057] Most stackalign tests fail on hppa-hpux
  2010-10-17 16:39 [Bug target/46057] New: All stackalign tests fail on hppa-hpux danglin at gcc dot gnu.org
                   ` (2 preceding siblings ...)
  2012-01-29 23:34 ` steven at gcc dot gnu.org
@ 2012-01-30  0:13 ` dave.anglin at bell dot net
  2012-01-30 18:22 ` danglin at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: dave.anglin at bell dot net @ 2012-01-30  0:13 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #4 from dave.anglin at bell dot net 2012-01-29 23:43:48 UTC ---
On 29-Jan-12, at 6:16 PM, steven at gcc dot gnu.org wrote:

> So, fixed? Or suspended?


Not fixed.  The stack alignment would need adjustment in main.
The HP-UX runtime only guarantees an alignment of 16-bytes.
There might be more situations where this bites.

Think this should be closed as WONTFIX.

Dave
--
John David Anglin    dave.anglin@bell.net


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

* [Bug target/46057] Most stackalign tests fail on hppa-hpux
  2010-10-17 16:39 [Bug target/46057] New: All stackalign tests fail on hppa-hpux danglin at gcc dot gnu.org
                   ` (3 preceding siblings ...)
  2012-01-30  0:13 ` dave.anglin at bell dot net
@ 2012-01-30 18:22 ` danglin at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: danglin at gcc dot gnu.org @ 2012-01-30 18:22 UTC (permalink / raw)
  To: gcc-bugs

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

John David Anglin <danglin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|                            |WONTFIX

--- Comment #5 from John David Anglin <danglin at gcc dot gnu.org> 2012-01-30 17:10:32 UTC ---
It is fairly easy for a user to write an asm to align the
stack to 64 bytes where necessary.  GCC preseves this
alignment and the alignment tests pass with this alignment.

HP-UX only provides 16 byte alignmentand there are no PARISC
instructions that require a larger alignment.  So, closing
as WONTFIX.


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

end of thread, other threads:[~2012-01-30 17:11 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-10-17 16:39 [Bug target/46057] New: All stackalign tests fail on hppa-hpux danglin at gcc dot gnu.org
2010-10-17 18:19 ` [Bug target/46057] " danglin at gcc dot gnu.org
2010-12-09 22:16 ` [Bug target/46057] Most " danglin at gcc dot gnu.org
2012-01-29 23:34 ` steven at gcc dot gnu.org
2012-01-30  0:13 ` dave.anglin at bell dot net
2012-01-30 18:22 ` danglin at gcc dot gnu.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).