This is the mail archive of the gcc@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]

Slight oddness with new preproc


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

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