Commit f6ee8d7b by Hans-Peter Nilsson Committed by Hans-Peter Nilsson

* gcc.dg/cpp/trad/include.c: Don't run for newlib targets.

From-SVN: r128394
parent 66471b47
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> 2007-09-11 Christopher D. Rickett <crickett@lanl.gov>
PR fortran/33040 PR fortran/33040
...@@ -3,8 +3,9 @@ ...@@ -3,8 +3,9 @@
/* Test that macros are not expanded in the <> quotes of #inlcude. */ /* Test that macros are not expanded in the <> quotes of #inlcude. */
/* vxWorksCommon.h uses the "#" operator to construct the name of an /* vxWorksCommon.h uses the "#" operator to construct the name of an
include file, thus making the file incompatible with -traditional-cpp. */ include file, thus making the file incompatible with -traditional-cpp.
/* { dg-do preprocess { target { ! vxworks_kernel } } } */ 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 __STDC__ 1 /* Stop complaints about non-ISO compilers. */
#define stdlib 1 #define stdlib 1
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment