This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Slight oddness with new preproc
- To: "Zack Weinberg (E-mail)" <zack at wolery dot cumb dot org>
- Subject: Slight oddness with new preproc
- From: Donn Terry <donnte at microsoft dot com>
- Date: Thu, 28 Sep 2000 16:20:17 -0700
- Cc: "'gcc at gcc dot gnu dot org'" <gcc at gcc dot gnu dot org>
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