This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: cpplib: Nix -g3.
- To: Jakub Jelinek <jakub at redhat dot com>
- Subject: Re: cpplib: Nix -g3.
- From: Neil Booth <neil at daikokuya dot demon dot co dot uk>
- Date: Wed, 10 Jan 2001 21:11:05 +0000
- Cc: Zack Weinberg <zackw at Stanford dot EDU>, gcc at gcc dot gnu dot org
- References: <20010109233506.C7013@daikokuya.demon.co.uk> <20010109155204.A2032@wolery.stanford.edu> <20010110000706.C10605@daikokuya.demon.co.uk> <20010110041336.V1120@devserv.devel.redhat.com>
Jakub Jelinek wrote:-
> BTW: cpp0 -g3 (nor cpp0 -dD) omits the builtin macros and macros specified
> on the command line in the output (this got broken during the last lexer
> rewrite).
You're not really supposed to invoke cpp0 directly.
But, yes, cppmain does ignore those regardless of how it's invoked. I
thought it was intentional - it's been in cppmain.c for a while.
This were causing me a minor headache, in fact, for making cpp_reader
opaque - I'd be quite happy to get rid of it and output the lot - if
Zack has no objections.
It's caused by the condition
if (pfile->done_initializing)
{
[...]
}
in cb_define and cb_undef of cppmain.c.
Neil.