public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug testsuite/41146] New: FAIL: gcc.target/powerpc/asm-es-2.c scan-assembler *
@ 2009-08-23 9:15 dominiq at lps dot ens dot fr
2009-08-23 19:11 ` [Bug testsuite/41146] " pinskia at gcc dot gnu dot org
2009-12-15 15:37 ` dominiq at lps dot ens dot fr
0 siblings, 2 replies; 3+ messages in thread
From: dominiq at lps dot ens dot fr @ 2009-08-23 9:15 UTC (permalink / raw)
To: gcc-bugs
On powerpc-apple-darwin9, gcc.target/powerpc/asm-es-2.c fails with
FAIL: gcc.target/powerpc/asm-es-2.c scan-assembler asm1 3,4
FAIL: gcc.target/powerpc/asm-es-2.c scan-assembler asm2u 16\\\\(3\\\\)
FAIL: gcc.target/powerpc/asm-es-2.c scan-assembler asm3 0\\\\(3\\\\)
FAIL: gcc.target/powerpc/asm-es-2.c scan-assembler asm4 400\\\\(3\\\\)
This is fixed by the following patch:
--- ../_gcc_clean/gcc/testsuite/gcc.target/powerpc/asm-es-2.c 2009-07-23
17:55:10.000000000 +0200
+++ gcc/testsuite/gcc.target/powerpc/asm-es-2.c 2009-08-23 11:00:37.000000000
+0200
@@ -31,7 +31,7 @@ f4 (int *p)
asm ("asm4 %0" : "=es" (p[100]));
}
-/* { dg-final { scan-assembler "asm1 3,4" } } */
-/* { dg-final { scan-assembler "asm2u 16\\(3\\)" } } */
-/* { dg-final { scan-assembler "asm3 0\\(3\\)" } } */
-/* { dg-final { scan-assembler "asm4 400\\(3\\)" } } */
+/* { dg-final { scan-assembler "asm1 r3,r4" } } */
+/* { dg-final { scan-assembler "asm2u 16\\(r3\\)" } } */
+/* { dg-final { scan-assembler "asm3 0\\(r3\\)" } } */
+/* { dg-final { scan-assembler "asm4 400\\(r3\\)" } } */
Is there any plaform ob which the 'r' can be omitted? If yes, the "r" should be
replaced by something such as "r?" .
--
Summary: FAIL: gcc.target/powerpc/asm-es-2.c scan-assembler *
Product: gcc
Version: 4.5.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: testsuite
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: dominiq at lps dot ens dot fr
GCC build triplet: powerpc-apple-darwin9
GCC host triplet: powerpc-apple-darwin9
GCC target triplet: powerpc-apple-darwin9
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41146
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug testsuite/41146] FAIL: gcc.target/powerpc/asm-es-2.c scan-assembler *
2009-08-23 9:15 [Bug testsuite/41146] New: FAIL: gcc.target/powerpc/asm-es-2.c scan-assembler * dominiq at lps dot ens dot fr
@ 2009-08-23 19:11 ` pinskia at gcc dot gnu dot org
2009-12-15 15:37 ` dominiq at lps dot ens dot fr
1 sibling, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2009-08-23 19:11 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from pinskia at gcc dot gnu dot org 2009-08-23 19:11 -------
hmm, r is not needed on most PPC assemblers (Darwin is the exception). The
testcase should be changed such that it matches both with the r and without.
And maybe even %r too.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2009-08-23 19:11:16
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41146
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug testsuite/41146] FAIL: gcc.target/powerpc/asm-es-2.c scan-assembler *
2009-08-23 9:15 [Bug testsuite/41146] New: FAIL: gcc.target/powerpc/asm-es-2.c scan-assembler * dominiq at lps dot ens dot fr
2009-08-23 19:11 ` [Bug testsuite/41146] " pinskia at gcc dot gnu dot org
@ 2009-12-15 15:37 ` dominiq at lps dot ens dot fr
1 sibling, 0 replies; 3+ messages in thread
From: dominiq at lps dot ens dot fr @ 2009-12-15 15:37 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from dominiq at lps dot ens dot fr 2009-12-15 15:37 -------
A patch has been posted to
http://gcc.gnu.org/ml/gcc-patches/2009-12/msg00772.html .
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41146
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2009-12-15 15:37 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-08-23 9:15 [Bug testsuite/41146] New: FAIL: gcc.target/powerpc/asm-es-2.c scan-assembler * dominiq at lps dot ens dot fr
2009-08-23 19:11 ` [Bug testsuite/41146] " pinskia at gcc dot gnu dot org
2009-12-15 15:37 ` dominiq at lps dot ens dot fr
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).