[RFA:] testsuite: don't run gcc.dg/cpp/trad/include.c for newlib

Hans-Peter Nilsson hans-peter.nilsson@axis.com
Tue Sep 11 13:23:00 GMT 2007


> 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



More information about the Gcc-patches mailing list