How to XFAIL a gcc.dg test?

Gabriel Dos Reis Gabriel.Dos-Reis@cmla.ens-cachan.fr
Mon May 14 06:03:00 GMT 2001


Mark Mitchell <mark@codesourcery.com> writes:

| I can't figure out how to XFAIL a test that has a target selector.
| 
| For example:
| 
|  { dg-do run { xfail sparc*-*-* } { target sparc*-*-* } }
| 
| doesn't work.  Is there a way to do this?

You can't put target and xfail on one line.  You can break it in
separate lines since repeated occurences of dg-keywords are supported.

In order words, you might want to write

	{ dg-do run { target sparc*-*-* } }
	{ dg-do run { xfail sparc*-*-* } }

-- Gaby



More information about the Gcc-bugs mailing list