OSDN Git Service

* gcc.dg/cpp/trad/include.c: Don't run for newlib targets.
authorhp <hp@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 11 Sep 2007 21:15:24 +0000 (21:15 +0000)
committerhp <hp@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 11 Sep 2007 21:15:24 +0000 (21:15 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@128394 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/cpp/trad/include.c

index c1d3755..a6ddaa7 100644 (file)
@@ -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
index 0798382..94d25f8 100644 (file)
@@ -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