This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: xfail syntax
- From: Robin Getz <robin dot getz at analog dot com>
- To: "gcc at gcc dot gnu dot org" <gcc at gcc dot gnu dot org>
- Cc: toolchain-devel at blackfin dot uclinux dot org, "Kilbane, Stephen" <Stephen dot Kilbane at analog dot com>
- Date: Mon, 2 Aug 2010 12:55:16 -0400
- Subject: Re: xfail syntax
- References: <05E9E85E39C35B4D96ED3A3190E35A109704A9FE81@LIMKCMBX1.ad.analog.com>
On Mon 2 Aug 2010 10:44, Kilbane, Stephen pondered:
> For #6101, the test's just started failing for 4.3 because 4.3 adds a
> new xfail condition not applied to 4.1:
>
> 4.1: // { dg-do run { xfail sparc*-*-solaris2* } }
> 4.3: // { dg-do run { xfail { { sparc*-*-solaris2* } || lax_strtofp } } }
>
> lax_strtofp just translates as "if target uses uClibc", which explains
> why this test is now PASS for bfin-elf and XPASS for bfin-linux-uclibc
> and bfin-uclinux.
>
> DG/TCL's syntax is defeating me, though. How do I express:
>
> // { dg-do run { xfail { { sparc*-*-solaris2* } ||
> { lax_strtofp && ! bfin-*-* } } }
>
> ?
Thought someone here might know better....