This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]