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


On Wed, May 09, 2001 at 09:06:32AM +0100, Nathan Sidwell wrote:
> Zack Weinberg wrote:
> > 
> > This is the same patch I posted on Thursday, with additional changes
> > to avoid causing execute/920730-1t.c to regress.  tradcpp now
> I tried this patch, and it is good.
> Here are two C++ test cases which check for the right thing happening.

Thanks.  I'd prefer these were gcc.dg/cpp test cases rather than g++
test cases.  I'll re-cast them as such and apply with the patch later
today.

> I found another bug, and attach a patch for that - is it ok? Comments
> were also being processed in preprocessed source.

Yep, that's a bug, but I am not sure if that's the right fix and I have
to run out the door.  Neil?

> I can't write a testcase for -fpreprocessed, as that'll barf on any //'s
> which tell dejagnu what to expect.

-save-temps uses -fpreprocessed internally, so that should be good
enough.

zw


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