This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[VxWorks] Restrict intmax_t-1.c XFAIL to kernel mode
- From: Richard Sandiford <richard at codesourcery dot com>
- To: gcc-patches at gcc dot gnu dot org
- Cc: nathan at codesourcery dot com
- Date: Fri, 16 Mar 2007 14:27:17 +0000
- Subject: [VxWorks] Restrict intmax_t-1.c XFAIL to kernel mode
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. */