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: [distcc] gcc bootstraps with distcc


Alexandre Oliva wrote:-

> On Aug  5, 2003, Neil Booth <neil@daikokuya.co.uk> wrote:
> 
> > Please revert until you can establish that the testsuite case is
> > not there for a good reason.
> 
> AFAICT, the choice of whether to insert line breaks in preprocessed
> output is arbitrary.  The patch at
> http://gcc.gnu.org/ml/gcc-patches/2000-12/msg00021.html where this
> testcase was introduced mentions `newlines in a macro argument are
> whitespace' [6.10.3]/10, but I don't see any wording in the standard
> that implies that line breaks shouldn't be propagated to the
> preprocessor output.  In fact, I don't see that the standard actually
> mentions preprocessor output at all.

It mentions that newlines in macro arguments become spaces during
stringification, which is a strong suggestion that it is considered
to be a single logical line, hence the current behaviour.

Neil.


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