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: cpplib: Less agressive paste avoidance


Jakub Jelinek wrote:-

> I think this change is unnecessary when you added it to avoidpaste1.c
> already and it would be good to test whether it works properly with
> integrated preprocessor as well...

I'd like to keep it as it is.  My initial thoughts on a patch would
have worked for funlike macros, but not objlike ones.  This way we
test both.

Moreover, for integrated CPP to be wrong, since the interface is
token-based and not text-based, we would need a lexer bug.  That would
immediately be shown up by avoidpaste1.c, or even more likely an
inability to bootstrap.

Neil.

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