Re: [PATCH v5 04/10] OpenMP: Robustify C front end handling of attribute-syntax pragmas

2025-01-03 Thread Sandra Loosemore
On 1/2/25 11:44, Tobias Burnus wrote: [snip] Otherwise, LGTM. I've pushed the attached version of the patch after making the requested trivial changes and re-testing this piece of the series in isolation. It's independent of parts 1, 2, and 3 which are still pending, but a prerequisite for p

Re: [PATCH v5 04/10] OpenMP: Robustify C front end handling of attribute-syntax pragmas

2025-01-02 Thread Tobias Burnus
Sandra Loosemore wrote: [in https://gcc.gnu.org/pipermail/gcc-patches/2024-November/669055.html ] Presently, the code to handle OpenMP attribute-syntax pragmas in the C front end assumes nothing else is messing with redirecting parser->tokens, and makes no provision for restoring it from anythin

[PATCH v5 04/10] OpenMP: Robustify C front end handling of attribute-syntax pragmas

2024-12-09 Thread Sandra Loosemore
Presently, the code to handle OpenMP attribute-syntax pragmas in the C front end assumes nothing else is messing with redirecting parser->tokens, and makes no provision for restoring it from anything other than parser->tokens_buf when the buffer allocated for the pragma is exhausted. Adding suppor