This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug testsuite/42348] Syntax of dg-skip-if in two obj-c++ tests
- From: "developer at sandoe-acoustics dot co dot uk" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 14 Dec 2009 16:59:09 -0000
- Subject: [Bug testsuite/42348] Syntax of dg-skip-if in two obj-c++ tests
- References: <bug-42348-12313@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #8 from developer at sandoe-acoustics dot co dot uk 2009-12-14 16:59 -------
with the patches above;
testsuite/obj-c++.dg/const-str-9.mm should have:
/* { dg-do compile { target *-*-darwin* } } */
/* { dg-skip-if "" { *-*-darwin* } { "-fgnu-runtime" } { "" } } */
/* { dg-skip-if "" { *-*-darwin* && { lp64 && { ! objc2 } } } { "*" } { "" } }
*/
testsuite/obj-c++.dg/template-4.mm
/* { dg-do run } */
/* { dg-skip-if "" { *-*-darwin* && { lp64 && { ! objc2 } } } { "*" } {
"-fgnu-runtime" } } */
In fact, arguably all the ObjC/ObjC++ tests should have something along these
lines - it should reduce clutter until OBJC2 support is available in FSF gcc.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42348