This is the mail archive of the gcc-bugs@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: preprocessor/538: cpp0 loops while expanding macros


Neil Booth wrote:-

> Bootstrapping and running testsuite.  Assuming these succeed, OK to
> commit?
> 
> Neil.
> 
> 	* cpplex.c (push_macro_context): Set an argument's level after
> 	calling parse_args.  We could loop infinitely otherwise.
> 	* gcc.dg/cpp/macro2.c: New testcase.

I committed this, as its fairly obvious (to me at least), and
bootstrapped and passed the tests.

Neil.

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