public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/40575] New: FAIL: gcc.dg/falign-labels-1.c execution test
@ 2009-06-28 14:08 danglin at gcc dot gnu dot org
2009-07-01 16:53 ` [Bug target/40575] " danglin at gcc dot gnu dot org
2009-07-01 17:07 ` danglin at gcc dot gnu dot org
0 siblings, 2 replies; 3+ messages in thread
From: danglin at gcc dot gnu dot org @ 2009-06-28 14:08 UTC (permalink / raw)
To: gcc-bugs
The test fails because the generated assembly code assumes the branch
table immediately follows the branch.
mfia %r19
ldo 24(%r19),%r19
ldw,s %r28(%r19),%r31
extrd,s %r31,63,32,%r31
add,l %r19,%r31,%r31
bv,n %r0(%r31)
.align 8
L$0007:
.begin_brtab
.word L$0003-L$0007
The problem is the "ldo" instruction.
This problem was seen on hppa64-hp-hpux11.11 but I believe that it
applies to all hppa targets.
--
Summary: FAIL: gcc.dg/falign-labels-1.c execution test
Product: gcc
Version: 4.5.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: target
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: danglin at gcc dot gnu dot org
GCC build triplet: hppa*-*-*
GCC host triplet: hppa*-*-*
GCC target triplet: hppa*-*-*
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40575
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug target/40575] FAIL: gcc.dg/falign-labels-1.c execution test
2009-06-28 14:08 [Bug target/40575] New: FAIL: gcc.dg/falign-labels-1.c execution test danglin at gcc dot gnu dot org
@ 2009-07-01 16:53 ` danglin at gcc dot gnu dot org
2009-07-01 17:07 ` danglin at gcc dot gnu dot org
1 sibling, 0 replies; 3+ messages in thread
From: danglin at gcc dot gnu dot org @ 2009-07-01 16:53 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from danglin at gcc dot gnu dot org 2009-07-01 16:53 -------
Subject: Bug 40575
Author: danglin
Date: Wed Jul 1 16:53:26 2009
New Revision: 149144
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=149144
Log:
PR target/40575
* pa.md (casesi32p): Use jump table label to determine the offset
of the jump table.
(casesi64p): Likewise.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/pa/pa.md
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40575
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug target/40575] FAIL: gcc.dg/falign-labels-1.c execution test
2009-06-28 14:08 [Bug target/40575] New: FAIL: gcc.dg/falign-labels-1.c execution test danglin at gcc dot gnu dot org
2009-07-01 16:53 ` [Bug target/40575] " danglin at gcc dot gnu dot org
@ 2009-07-01 17:07 ` danglin at gcc dot gnu dot org
1 sibling, 0 replies; 3+ messages in thread
From: danglin at gcc dot gnu dot org @ 2009-07-01 17:07 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from danglin at gcc dot gnu dot org 2009-07-01 17:07 -------
Fixed.
--
danglin at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40575
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2009-07-01 17:07 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-06-28 14:08 [Bug target/40575] New: FAIL: gcc.dg/falign-labels-1.c execution test danglin at gcc dot gnu dot org
2009-07-01 16:53 ` [Bug target/40575] " danglin at gcc dot gnu dot org
2009-07-01 17:07 ` danglin 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).