[VxWorks] Restrict intmax_t-1.c XFAIL to kernel mode

Richard Sandiford richard@codesourcery.com
Fri Mar 16 14:37:00 GMT 2007


The XFAIL I'd added to intmax_t-1.c as "obvious" was too broad;
RTPs do actually provide the header.  I'm not sure why I didn't
notice that before.

Fixed by the patch below.  I hestitate to install it as obvious
given that I've made three mistakes in my recent testsuite patches,
so... 

Tested on x86_64-linux-gnu and i586-wrs-vxworks.  OK to install?

Richard


gcc/testsuite/
	* gcc.dg/intmax_t-1.c: Restrict XFAIL to VxWorks kernels;
	exclude RTPs.

Index: gcc/testsuite/gcc.dg/intmax_t-1.c
===================================================================
--- gcc/testsuite/gcc.dg/intmax_t-1.c	(revision 122984)
+++ gcc/testsuite/gcc.dg/intmax_t-1.c	(working copy)
@@ -1,6 +1,6 @@
 /* { dg-do compile } */
 /* { dg-options "-Wall" } */
-/* { dg-error "" "" { target *-*-solaris2.5.1 *arm*-*-*elf* xscale*-*-elf* xtensa-*-elf* *-*-vxworks* } 0 } */
+/* { dg-error "" "" { target { { *-*-solaris2.5.1 *arm*-*-*elf* xscale*-*-elf* xtensa-*-elf* } || vxworks_kernel } 0 } } */
 
 /* Compile with -Wall to get a warning if built-in and system intmax_t don't
    match.  */



More information about the Gcc-patches mailing list