Hello!

> I don't mind skipping the test on other platforms, but xfail is not
> correct.  When an xfail test passes, we get an XPASS error from the
> testsuite.  We need dg-skip-if.  I committed this patch.
>
>
> 2014-10-30  Dominik Vogt  <v...@linux.vnet.ibm.com>
>
> * gcc.misc-tests/godump-1.c: Skip -fdump-go-spec tests for all
> platforms except s390[x] and x86_64.

 /* { dg-options "-c -fdump-go-spec=godump-1.out" } */
 /* { dg-do compile } */
+/* { dg-skip-if "not supported for target" { ! "s390*-*-* x86_64-*-*" } } */

x86_64 also needs && lp64, otherwise -m32 will defeat this condition.

Uros.

Reply via email to