From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30073 invoked by alias); 28 Nov 2004 21:56:45 -0000 Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org Received: (qmail 30039 invoked from network); 28 Nov 2004 21:56:39 -0000 Received: from unknown (HELO dair.pair.com) (209.68.1.49) by sourceware.org with SMTP; 28 Nov 2004 21:56:39 -0000 Received: (qmail 69384 invoked by uid 20157); 28 Nov 2004 21:56:39 -0000 Date: Sun, 28 Nov 2004 22:27:00 -0000 From: Hans-Peter Nilsson X-X-Sender: hp@dair.pair.com To: gcc@gcc.gnu.org cc: Janis Johnson Subject: dg-skip-if usage problem Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-SW-Source: 2004-11/txt/msg01092.txt.bz2 I'm trying to skip the faulty gcc.dg/20040813-1.c for MMIX (see PR target/18336). It seems dg-skip-if should let me do that: "Skip the test (report it as UNSUPPORTED) if the target list and included flags are matched and the excluded flags are not matched" but I don't know how how to use it, and existing usage doesn't give me a working clue. For example these permutations don't work: /* { dg-skip-if "" { mmix-*-* } { "" } { "" } } */ /* { dg-skip-if "" { mmix-*-* } { "" } { "-c" } } */ /* { dg-skip-if "" { mmix-*-* } { "-c" } { "" } } */ /* { dg-skip-if "" { mmix-*-* } { "-c" } { "-c" } } */ (plus some variants with "no-such-option"). Better would be to add a dg-require-stabs, of course, but I still need a way to skip a test, and I'm not happy with just xfailing it: "xfail" is not "unsupported". Help? brgds, H-P