This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [RFA:] testsuite: don't run gcc.dg/cpp/trad/include.c for newlib
- From: Hans-Peter Nilsson <hans-peter dot nilsson at axis dot com>
- To: gcc-patches at gcc dot gnu dot org
- Cc: tromey at redhat dot com, neil at daikokuya dot co dot uk
- Date: Tue, 11 Sep 2007 14:51:33 +0200
- Subject: Re: [RFA:] testsuite: don't run gcc.dg/cpp/trad/include.c for newlib
> Date: Tue, 11 Sep 2007 14:26:15 +0200
> From: Hans-Peter Nilsson <hp@axis.com>
> Index: gcc.dg/cpp/trad/include.c
> ===================================================================
> --- gcc.dg/cpp/trad/include.c (revision 128352)
> +++ gcc.dg/cpp/trad/include.c (working copy)
> @@ -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.
> + Ditto newlib as of 2007-09-07. */
Oops, consider that line changed to "Newlib uses ## when
including stdlib.h as of 2007-09-07". (Note ##, not #, which I
guess is what vxWorksCommon.h does too [and that the # is a
typo], but newlib uses it not for the name of a file, so "ditto"
is wrong.)
brgds, H-P