Patch for gcc.dg/tree-ssa/loop-1.c test case on IA64.

Steve Ellcey sje@cup.hp.com
Wed Jan 12 16:40:00 GMT 2005


> A target list can now consist of an effective-target keyword.  Eventually
> it would be nice to support logical operators in a target list, but we
> don't now.  It's really ugly, but you could define an effective target
> for everything except those two and use its keyword in the final check,
> as in:
> 
> /* { dg-final {scan-assembler times "foo" 5 { target not_hppa_or_ia64 } } } */.
> 
> Janis

Setting up a special effective-target keyword sounds like a lot of work
for one test.  How about the following?

/* { dg-final {scan-assembler times "foo" 5 { xfail hppa-*-* ia64-*-* } } } */
/* { dg-final {scan-assembler-times "foo,%r" 5 { target hppa-*-* } } }      */
/* { dg-final {scan-assembler-times "= foo" 5 { target ia64-*-* } } }       */

Is the listing of two triplet patterns in the xfail considered kosher?
I found a few examples of it in other tests.

Steve Ellcey
sje@cup.hp.com



More information about the Gcc-patches mailing list