diff options
-rw-r--r-- | gcc/testsuite/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/cpp/trad/include.c | 4 |
2 files changed, 7 insertions, 1 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 0e355f3..a7fac37 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,5 +1,9 @@ 2007-07-04 Richard Sandiford <richard@codesourcery.com> + * gcc.dg/cpp/trad/include.c: Skip for VxWorks kernels. + +2007-07-04 Richard Sandiford <richard@codesourcery.com> + * gcc.dg/sh4a-fprun.c: Skip for VxWorks kernels. 2007-07-04 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org> diff --git a/gcc/testsuite/gcc.dg/cpp/trad/include.c b/gcc/testsuite/gcc.dg/cpp/trad/include.c index ada8178..0798382 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 |