diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 0e355f34ffa..a7fac373f4b 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2007-07-04 Richard Sandiford + + * gcc.dg/cpp/trad/include.c: Skip for VxWorks kernels. + 2007-07-04 Richard Sandiford * gcc.dg/sh4a-fprun.c: Skip for VxWorks kernels. diff --git a/gcc/testsuite/gcc.dg/cpp/trad/include.c b/gcc/testsuite/gcc.dg/cpp/trad/include.c index ada8178ea9c..0798382d020 100644 --- a/gcc/testsuite/gcc.dg/cpp/trad/include.c +++ b/gcc/testsuite/gcc.dg/cpp/trad/include.c @@ -2,7 +2,9 @@ /* Test that macros are not expanded in the <> quotes of #inlcude. */ -/* { dg-do preprocess } */ +/* vxWorksCommon.h uses the "#" operator to construct the name of an + include file, thus making the file incompatible with -traditional-cpp. */ +/* { dg-do preprocess { target { ! vxworks_kernel } } } */ #define __STDC__ 1 /* Stop complaints about non-ISO compilers. */ #define stdlib 1