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

Re: Revised patch for #-directives as result of macro expansion


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.


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