Re: [PATCH] preprocessor: Don't register pragmas in directives-only mode [PR108244]

2023-01-11 Thread Jakub Jelinek via Gcc-patches
On Fri, Dec 30, 2022 at 12:21:37PM -0500, Lewis Hyatt via Gcc-patches wrote: > libcpp's directives-only mode does not expect deferred pragmas to be > registered, but to date the c-family registration process has not checked for > this case. That issue became more visible since r13-1544, which added

[PATCH] preprocessor: Don't register pragmas in directives-only mode [PR108244]

2022-12-30 Thread Lewis Hyatt via Gcc-patches
libcpp's directives-only mode does not expect deferred pragmas to be registered, but to date the c-family registration process has not checked for this case. That issue became more visible since r13-1544, which added the commonly used GCC diagnostic pragmas to the set of those registered in preproc