public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug testsuite/42348]  New: Syntax of dg-skip-if in two obj-c++ tests
@ 2009-12-10 12:17 dominiq at lps dot ens dot fr
  2009-12-10 18:13 ` [Bug testsuite/42348] " mrs at apple dot com
                   ` (10 more replies)
  0 siblings, 11 replies; 12+ messages in thread
From: dominiq at lps dot ens dot fr @ 2009-12-10 12:17 UTC (permalink / raw)
  To: gcc-bugs

While chasing pr42333, I stumbled that using
"RUNTESTFLAGS=--target_board=unix'{-m32,}'" or
"RUNTESTFLAGS=--target_board=unix'{-m32,-m64}'" gave different results for two
obj-c++ tests (const-str-9.mm and template-4.mm) on x86_64-apple-darwin10. The
reason is that their dg-skip-if expect explicitly the -m64 option, not needed
for 64 bit platforms. Does the following patch makes sense?

diff -up ../_clean/gcc/testsuite/obj-c++.dg/const-str-9.mm
../work/gcc/testsuite/obj-c++.dg/const-str-9.mm
--- ../_clean/gcc/testsuite/obj-c++.dg/const-str-9.mm   2009-11-25
18:16:34.000000000 +0100
+++ ../work/gcc/testsuite/obj-c++.dg/const-str-9.mm     2009-12-10
11:13:03.000000000 +0100
@@ -3,7 +3,7 @@

 /* { dg-options "-fnext-runtime" } */
 /* { dg-do compile { target *-*-darwin* } } */
-/* { dg-skip-if "" { *-*-darwin* } { "-m64" } { "" } } */
+/* { dg-skip-if "" { *-*-darwin* && lp64 } { "*" } { "" } } */

 #include <objc/Object.h>

diff -up ../_clean/gcc/testsuite/obj-c++.dg/template-4.mm
../work/gcc/testsuite/obj-c++.dg/template-4.mm
--- ../_clean/gcc/testsuite/obj-c++.dg/template-4.mm    2009-11-25
18:16:34.000000000 +0100
+++ ../work/gcc/testsuite/obj-c++.dg/template-4.mm      2009-12-10
11:14:02.000000000 +0100
@@ -1,7 +1,7 @@
 /* Author:  Ziemowit Laski <zlaski@apple.com>.  */

 /* { dg-do run } */
-/* { dg-skip-if "" { *-*-darwin* } { "-m64" } { "" } } */
+/* { dg-skip-if "" { *-*-darwin* && lp64 } { "*" } { "" } } */

 #include <objc/Object.h>
 #include <stdarg.h>


-- 
           Summary: Syntax of dg-skip-if in two obj-c++ tests
           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: *-apple-darwin*
  GCC host triplet: *-apple-darwin*
GCC target triplet: *-apple-darwin*


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


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

end of thread, other threads:[~2010-03-26 12:45 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-12-10 12:17 [Bug testsuite/42348] New: Syntax of dg-skip-if in two obj-c++ tests dominiq at lps dot ens dot fr
2009-12-10 18:13 ` [Bug testsuite/42348] " mrs at apple dot com
2009-12-11 13:35 ` developer at sandoe-acoustics dot co dot uk
2009-12-11 14:08 ` developer at sandoe-acoustics dot co dot uk
2009-12-14 16:47 ` developer at sandoe-acoustics dot co dot uk
2009-12-14 16:50 ` developer at sandoe-acoustics dot co dot uk
2009-12-14 16:54 ` developer at sandoe-acoustics dot co dot uk
2009-12-14 16:56 ` developer at sandoe-acoustics dot co dot uk
2009-12-14 16:59 ` developer at sandoe-acoustics dot co dot uk
2010-02-19 23:36 ` developer at sandoe-acoustics dot co dot uk
2010-03-24 22:51 ` janis at gcc dot gnu dot org
2010-03-26 12:45 ` 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).