[distcc] gcc bootstraps with distcc

Alexandre Oliva aoliva@redhat.com
Tue Aug 5 20:56:00 GMT 2003


On Aug  5, 2003, Neil Booth <neil@daikokuya.co.uk> wrote:

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

Err...  6.10.3/10 (!= 6.10.3.10, that doesn't exist, but was mentioned
somewhere in the patch) says:

  [...] Within the sequence of preprocessing tokens making up an
  invocation of a function-like macro, new-line is considered a normal
  white-space character.

This is talking about newlines in the invocation, not in the macro
expansion.  In fact, newlines don't carry over to the expansion.  The
question is, in which line should the macro expansion be placed?
6.10.3.2 (!= 6.10.3/2) says that whitespace sequences become a single
space character in the string literal, but then again, macro
expansions can never contain newlines.

Or am I mis-reading this?

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                 aoliva@{redhat.com, gcc.gnu.org}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist                Professional serial bug killer



More information about the Gcc-patches mailing list