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

Daniel Jacobowitz drow@false.org
Tue Sep 11 18:41:00 GMT 2007

On Tue, Sep 11, 2007 at 02:51:33PM +0200, Hans-Peter Nilsson wrote:
> >  /* vxWorksCommon.h uses the "#" operator to construct the name of an
> > -   include file, thus making the file incompatible with -traditional-cpp.  */

> 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.)

No, vxWorksCommon.h is actually using #.  It does some macro
expansion and then stringifies the result.

Daniel Jacobowitz

More information about the Gcc-patches mailing list