Re: [PATCH] libcpp: Fix up padding handling in funlike_invocation_p [PR104147]

2022-02-01 Thread Jakub Jelinek via Gcc-patches
On Tue, Feb 01, 2022 at 12:28:57AM +0100, Jakub Jelinek via Gcc-patches wrote: > I haven't, but will do so now. So, I've done another bootstrap/regtest with incremental --- gcc/c-family/c-lex.cc.jj2022-01-18 00:18:02.558747051 +0100 +++ gcc/c-family/c-lex.cc 2022-02-01 00:39:47.314183266

Re: [PATCH] libcpp: Fix up padding handling in funlike_invocation_p [PR104147]

2022-01-31 Thread Jakub Jelinek via Gcc-patches
On Mon, Jan 31, 2022 at 05:12:23PM -0500, Jason Merrill wrote: > > --- libcpp/macro.cc.jj 2022-01-18 11:59:00.277972128 +0100 > > +++ libcpp/macro.cc 2022-01-31 15:44:49.208847524 +0100 > > @@ -1374,7 +1374,9 @@ funlike_invocation_p (cpp_reader *pfile, > > if (token->type != CPP_PADDIN

Re: [PATCH] libcpp: Fix up padding handling in funlike_invocation_p [PR104147]

2022-01-31 Thread Jason Merrill via Gcc-patches
On 1/31/22 14:03, Jakub Jelinek wrote: Hi! As mentioned in the PR, in some cases we preprocess incorrectly when we encounter an identifier which is defined as function-like macro, followed by at least 2 CPP_PADDING tokens and then some other identifier. On the following testcase, the problem is