This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Revised patch for #-directives as result of macro expansion
- To: Nathan Sidwell <nathan at codesourcery dot com>
- Subject: Re: Revised patch for #-directives as result of macro expansion
- From: Neil Booth <neil at daikokuya dot demon dot co dot uk>
- Date: Wed, 9 May 2001 18:51:32 +0100
- Cc: Zack Weinberg <zackw at stanford dot edu>, gcc-patches at gcc dot gnu dot org
- References: <20010506211358.A32266@stanford.edu> <3AF8FA88.688E3BB5@codesourcery.com>
Nathan Sidwell wrote:-
> Here are two C++ test cases which check for the right thing happening.
> I found another bug, and attach a patch for that - is it ok? Comments
> were also being processed in preprocessed source.
Calling it a bug is a little strong, since CPP will never output
comments in preprocessed source, even if you try hard to get it to do
so. Anyhow, I think it's not a bad idea to refuse them anyway; please
apply to mainline (I don't think it's necessary for branch).
> I can't write a testcase for -fpreprocessed, as that'll barf on any //'s
> which tell dejagnu what to expect.
I don't think that's worth worrying over.
Neil.