From: Hans-Peter Nilsson <hp@bitrange.com>
To: Janis Johnson <janis187@us.ibm.com>
Cc: gcc@gcc.gnu.org
Subject: Re: dg-skip-if usage problem
Date: Mon, 29 Nov 2004 20:32:00 -0000 [thread overview]
Message-ID: <Pine.BSF.4.58.0411291314280.40270@dair.pair.com> (raw)
In-Reply-To: <20041129180634.GA5872@us.ibm.com>
On Mon, 29 Nov 2004, Janis Johnson wrote:
> To skip a test for a list of targets regardless of options, do
>
> /* { dg-skip-if "" { mmix-*-* } { "*" } { "" } } */
Oh it's a glob! Big doh, I should've guessed.
Hmm, dg-skip-if *does* work (for example, the line above), but
*only if it's put on a line after the dg-do line*! I think
that's where I failed.
Thanks!
> The option list compared against doesn't include "-c", which is
> added when actually compiling the test.
According to "-v -v -v" (verbose level 3), "-c" is one of the
options tested against (which was the reason I used that of
course. ;-) I can s/"*"/"-c"/ above and it still works.
BTW, how do you feel about respectively a dg-require-fpic
(target must support -fpic/fPIC) and dg-require-stabs
(target must support the STABS debug format)?
"Too many dg-require-*" or "send a patch"?
brgds, H-P
next prev parent reply other threads:[~2004-11-29 20:06 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-11-28 22:27 Hans-Peter Nilsson
2004-11-29 18:10 ` Janis Johnson
2004-11-29 20:32 ` Hans-Peter Nilsson [this message]
2004-11-29 21:42 ` Janis Johnson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Pine.BSF.4.58.0411291314280.40270@dair.pair.com \
--to=hp@bitrange.com \
--cc=gcc@gcc.gnu.org \
--cc=janis187@us.ibm.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).