Slight oddness with new preproc

Donn Terry donnte@microsoft.com
Thu Sep 28 16:21:00 GMT 2000


This may have been discussed and I missed it; if so,
my apologies.

Given a macro invocation where the macro is one line,
and the invocation is several lines, different versions
of the preprocessof give slightly different results
when using --save-temps.

With an older preprocessor, the result of the macro
expansion appears on the line corresponding to the
last line of the multi-line call (in the .i file).

With the newer preprocessor, the result is on the first
corresponding line.

I don't see how this might matter in any real way, but in
case it somehow does, it's worth noting.

(The reason I noticed this is I'm chasing down an ICE, and
the ICE is very different depending on which .i file I use!)

Donn


More information about the Gcc mailing list