From 21d59fffee3956c148574229b02c1dc56deb9f2d Mon Sep 17 00:00:00 2001
From: Richard Sandiford <richard@codesourcery.com>
Date: Fri, 16 Mar 2007 14:37:39 +0000
Subject: [PATCH] intmax_t-1.c: Restrict XFAIL to VxWorks kernels; exclude
 RTPs.

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

From-SVN: r122993
---
 gcc/testsuite/ChangeLog           | 5 +++++
 gcc/testsuite/gcc.dg/intmax_t-1.c | 2 +-
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 1b47256ea3d6..f761dccbf10b 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2007-03-16  Richard Sandiford  <richard@codesourcery.com>
+
+	* gcc.dg/intmax_t-1.c: Restrict XFAIL to VxWorks kernels;
+	exclude RTPs.
+
 2007-03-16  Richard Guenther  <rguenther@suse.de>
 
 	PR tree-optimization/31146
diff --git a/gcc/testsuite/gcc.dg/intmax_t-1.c b/gcc/testsuite/gcc.dg/intmax_t-1.c
index 8357aa961db4..65bca7698297 100644
--- a/gcc/testsuite/gcc.dg/intmax_t-1.c
+++ b/gcc/testsuite/gcc.dg/intmax_t-1.c
@@ -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.  */
-- 
GitLab