public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
* [Bug testsuite/28950] New: regex wrong for gcc/testsuite/gcc.target/powerpc/ppc-and-1.c @ 2006-09-04 16:14 howarth at nitro dot med dot uc dot edu 2006-09-10 7:18 ` [Bug testsuite/28950] " echristo at apple dot com ` (5 more replies) 0 siblings, 6 replies; 7+ messages in thread From: howarth at nitro dot med dot uc dot edu @ 2006-09-04 16:14 UTC (permalink / raw) To: gcc-bugs I am able to verify that the regex for gcc/testsuite/gcc.target/powerpc/ppc-and-1.c is incorrect as previously diagnosed on the gcc mailing list... http://gcc.gnu.org/ml/gcc/2006-09/msg00030.html ...and that the following change fixes the problem... --- gcc-4.2-20060901/gcc/testsuite/gcc.target/powerpc/ppc-and-1.c 2006-08-13 14:10:07.000000000 -0400 +++ gcc-4.2-20060901.allocate/gcc/testsuite/gcc.target/powerpc/ppc-and-1.c 2006-09-01 20:10:44.000000000 -0400 @@ -1,8 +1,8 @@ /* { dg-do compile { target { powerpc*-*-* && lp64 } } } */ /* { dg-options "-O2" } */ -/* { dg-final { scan-assembler "rlwinm \[0-9\]+,\[0-9\]+,0,0,30" } } */ -/* { dg-final { scan-assembler "rlwinm \[0-9\]+,\[0-9\]+,0,29,30" } } */ +/* { dg-final { scan-assembler "rlwinm r\[0-9\]+,r\[0-9\]+,0,0,30" } } */ +/* { dg-final { scan-assembler "rlwinm r\[0-9\]+,r\[0-9\]+,0,29,30" } } */ /* { dg-final { scan-assembler-not "rldicr" } } */ /* Origin:Pete Steinmetz <steinmtz@us.ibm.com> */ ...with this change this test properly passes at -m64 on Darwin... Executing on host: /sw/src/fink.build/gcc4-4.1.999-20060902/darwin_objdir/gcc/xgcc -B/sw/src/fink.build/gcc4-4.1.999-20060902/darwin_objdir/gcc/ /sw/src/fink.build/ gcc4-4.1.999-20060902/gcc-4.2-20060902/gcc/testsuite/gcc.target/powerpc/ppc-and-1.c -O2 -fno-show-column -S -m64 -o ppc-and-1.s (timeout = 300) PASS: gcc.target/powerpc/ppc-and-1.c (test for excess errors) PASS: gcc.target/powerpc/ppc-and-1.c scan-assembler rlwinm r[0-9]+,r[0-9]+,0,0,30 PASS: gcc.target/powerpc/ppc-and-1.c scan-assembler rlwinm r[0-9]+,r[0-9]+,0,29,30 PASS: gcc.target/powerpc/ppc-and-1.c scan-assembler-not rldicr -- Summary: regex wrong for gcc/testsuite/gcc.target/powerpc/ppc- and-1.c Product: gcc Version: 4.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: testsuite AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: howarth at nitro dot med dot uc dot edu GCC build triplet: powerpc-apple-darwin8 GCC host triplet: powerpc-apple-darwin8 GCC target triplet: powerpc-apple-darwin8 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28950 ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug testsuite/28950] regex wrong for gcc/testsuite/gcc.target/powerpc/ppc-and-1.c 2006-09-04 16:14 [Bug testsuite/28950] New: regex wrong for gcc/testsuite/gcc.target/powerpc/ppc-and-1.c howarth at nitro dot med dot uc dot edu @ 2006-09-10 7:18 ` echristo at apple dot com 2006-09-10 7:21 ` pinskia at gcc dot gnu dot org ` (4 subsequent siblings) 5 siblings, 0 replies; 7+ messages in thread From: echristo at apple dot com @ 2006-09-10 7:18 UTC (permalink / raw) To: gcc-bugs ------- Comment #1 from echristo at apple dot com 2006-09-10 07:18 ------- But wouldn't that change make it fail on platforms that don't want an "r"? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28950 ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug testsuite/28950] regex wrong for gcc/testsuite/gcc.target/powerpc/ppc-and-1.c 2006-09-04 16:14 [Bug testsuite/28950] New: regex wrong for gcc/testsuite/gcc.target/powerpc/ppc-and-1.c howarth at nitro dot med dot uc dot edu 2006-09-10 7:18 ` [Bug testsuite/28950] " echristo at apple dot com @ 2006-09-10 7:21 ` pinskia at gcc dot gnu dot org 2006-09-10 14:35 ` [Bug testsuite/28950] regex wrong for testing on darwin in gcc/testsuite/gcc.target/powerpc/ppc-and-1.c pinskia at gcc dot gnu dot org ` (3 subsequent siblings) 5 siblings, 0 replies; 7+ messages in thread From: pinskia at gcc dot gnu dot org @ 2006-09-10 7:21 UTC (permalink / raw) To: gcc-bugs ------- Comment #2 from pinskia at gcc dot gnu dot org 2006-09-10 07:21 ------- (In reply to comment #1) > But wouldn't that change make it fail on platforms that don't want an "r"? Does {,r} work for regex in dejagnu tests? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28950 ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug testsuite/28950] regex wrong for testing on darwin in gcc/testsuite/gcc.target/powerpc/ppc-and-1.c 2006-09-04 16:14 [Bug testsuite/28950] New: regex wrong for gcc/testsuite/gcc.target/powerpc/ppc-and-1.c howarth at nitro dot med dot uc dot edu 2006-09-10 7:18 ` [Bug testsuite/28950] " echristo at apple dot com 2006-09-10 7:21 ` pinskia at gcc dot gnu dot org @ 2006-09-10 14:35 ` pinskia at gcc dot gnu dot org 2006-09-12 0:34 ` janis at gcc dot gnu dot org ` (2 subsequent siblings) 5 siblings, 0 replies; 7+ messages in thread From: pinskia at gcc dot gnu dot org @ 2006-09-10 14:35 UTC (permalink / raw) To: gcc-bugs ------- Comment #3 from pinskia at gcc dot gnu dot org 2006-09-10 14:35 ------- Confirmed, a minor problem with the testsuite. -- pinskia at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|normal |minor Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 GCC build triplet|powerpc-apple-darwin8 | GCC host triplet|powerpc-apple-darwin8 | GCC target triplet|powerpc-apple-darwin8 |powerpc*-*-darwin* Last reconfirmed|0000-00-00 00:00:00 |2006-09-10 14:35:45 date| | Summary|regex wrong for |regex wrong for testing on |gcc/testsuite/gcc.target/pow|darwin in |erpc/ppc-and-1.c |gcc/testsuite/gcc.target/pow | |erpc/ppc-and-1.c http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28950 ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug testsuite/28950] regex wrong for testing on darwin in gcc/testsuite/gcc.target/powerpc/ppc-and-1.c 2006-09-04 16:14 [Bug testsuite/28950] New: regex wrong for gcc/testsuite/gcc.target/powerpc/ppc-and-1.c howarth at nitro dot med dot uc dot edu ` (2 preceding siblings ...) 2006-09-10 14:35 ` [Bug testsuite/28950] regex wrong for testing on darwin in gcc/testsuite/gcc.target/powerpc/ppc-and-1.c pinskia at gcc dot gnu dot org @ 2006-09-12 0:34 ` janis at gcc dot gnu dot org 2006-09-12 0:42 ` janis at gcc dot gnu dot org 2006-09-12 4:06 ` pinskia at gcc dot gnu dot org 5 siblings, 0 replies; 7+ messages in thread From: janis at gcc dot gnu dot org @ 2006-09-12 0:34 UTC (permalink / raw) To: gcc-bugs ------- Comment #4 from janis at gcc dot gnu dot org 2006-09-12 00:34 ------- Subject: Bug 28950 Author: janis Date: Tue Sep 12 00:34:18 2006 New Revision: 116867 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=116867 Log: 2006-09-11 Jack Howarth <howarth@bromo.med.uc.edu> PR testsuite/28950 * gcc.target/powerpc/ppc-and-1.c: Fix regex. Modified: trunk/gcc/testsuite/ChangeLog trunk/gcc/testsuite/gcc.target/powerpc/ppc-and-1.c -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28950 ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug testsuite/28950] regex wrong for testing on darwin in gcc/testsuite/gcc.target/powerpc/ppc-and-1.c 2006-09-04 16:14 [Bug testsuite/28950] New: regex wrong for gcc/testsuite/gcc.target/powerpc/ppc-and-1.c howarth at nitro dot med dot uc dot edu ` (3 preceding siblings ...) 2006-09-12 0:34 ` janis at gcc dot gnu dot org @ 2006-09-12 0:42 ` janis at gcc dot gnu dot org 2006-09-12 4:06 ` pinskia at gcc dot gnu dot org 5 siblings, 0 replies; 7+ messages in thread From: janis at gcc dot gnu dot org @ 2006-09-12 0:42 UTC (permalink / raw) To: gcc-bugs ------- Comment #5 from janis at gcc dot gnu dot org 2006-09-12 00:42 ------- Subject: Bug 28950 Author: janis Date: Tue Sep 12 00:42:27 2006 New Revision: 116868 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=116868 Log: 2006-09-11 Jack Howarth <howarth@bromo.med.uc.edu> PR testsuite/28950 * gcc.target/powerpc/ppc-and-1.c: Fix regex. Modified: branches/gcc-4_1-branch/gcc/testsuite/ChangeLog branches/gcc-4_1-branch/gcc/testsuite/gcc.target/powerpc/ppc-and-1.c -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28950 ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug testsuite/28950] regex wrong for testing on darwin in gcc/testsuite/gcc.target/powerpc/ppc-and-1.c 2006-09-04 16:14 [Bug testsuite/28950] New: regex wrong for gcc/testsuite/gcc.target/powerpc/ppc-and-1.c howarth at nitro dot med dot uc dot edu ` (4 preceding siblings ...) 2006-09-12 0:42 ` janis at gcc dot gnu dot org @ 2006-09-12 4:06 ` pinskia at gcc dot gnu dot org 5 siblings, 0 replies; 7+ messages in thread From: pinskia at gcc dot gnu dot org @ 2006-09-12 4:06 UTC (permalink / raw) To: gcc-bugs ------- Comment #6 from pinskia at gcc dot gnu dot org 2006-09-12 04:06 ------- Fixed. -- pinskia at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED Target Milestone|--- |4.1.2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28950 ^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2006-09-12 4:06 UTC | newest] Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2006-09-04 16:14 [Bug testsuite/28950] New: regex wrong for gcc/testsuite/gcc.target/powerpc/ppc-and-1.c howarth at nitro dot med dot uc dot edu 2006-09-10 7:18 ` [Bug testsuite/28950] " echristo at apple dot com 2006-09-10 7:21 ` pinskia at gcc dot gnu dot org 2006-09-10 14:35 ` [Bug testsuite/28950] regex wrong for testing on darwin in gcc/testsuite/gcc.target/powerpc/ppc-and-1.c pinskia at gcc dot gnu dot org 2006-09-12 0:34 ` janis at gcc dot gnu dot org 2006-09-12 0:42 ` janis at gcc dot gnu dot org 2006-09-12 4:06 ` pinskia 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).