diff options
author | Hans-Peter Nilsson <hp@axis.com> | 2007-09-11 21:15:24 +0000 |
---|---|---|
committer | Hans-Peter Nilsson <hp@gcc.gnu.org> | 2007-09-11 21:15:24 +0000 |
commit | f6ee8d7b734810950a246330607a1a5973cebd10 (patch) | |
tree | b6656d4968216ab7ece1888f4cf2c532f667ff84 /gcc | |
parent | 66471b4708b84db82570b9747fb4e157c23f9804 (diff) | |
download | gcc-f6ee8d7b734810950a246330607a1a5973cebd10.zip gcc-f6ee8d7b734810950a246330607a1a5973cebd10.tar.gz gcc-f6ee8d7b734810950a246330607a1a5973cebd10.tar.bz2 |
* gcc.dg/cpp/trad/include.c: Don't run for newlib targets.
From-SVN: r128394
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/testsuite/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/cpp/trad/include.c | 5 |
2 files changed, 7 insertions, 2 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index c1d3755..a6ddaa7 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2007-09-11 Hans-Peter Nilsson <hp@axis.com> + + * gcc.dg/cpp/trad/include.c: Don't run for newlib targets. + 2007-09-11 Christopher D. Rickett <crickett@lanl.gov> PR fortran/33040 diff --git a/gcc/testsuite/gcc.dg/cpp/trad/include.c b/gcc/testsuite/gcc.dg/cpp/trad/include.c index 0798382..94d25f8 100644 --- a/gcc/testsuite/gcc.dg/cpp/trad/include.c +++ b/gcc/testsuite/gcc.dg/cpp/trad/include.c @@ -3,8 +3,9 @@ /* Test that macros are not expanded in the <> quotes of #inlcude. */ /* 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 } } } */ + include file, thus making the file incompatible with -traditional-cpp. + Newlib uses ## when including stdlib.h as of 2007-09-07. */ +/* { dg-do preprocess { target { { ! vxworks_kernel } && { ! newlib } } } } */ #define __STDC__ 1 /* Stop complaints about non-ISO compilers. */ #define stdlib 1 |