Re: [PATCH v3 04/12] OpenMP: C front end support for metadirectives

2024-08-31 Thread Sandra Loosemore
On 8/16/24 04:30, Jakub Jelinek wrote: On Sat, Jul 20, 2024 at 02:42:23PM -0600, Sandra Loosemore wrote: --- a/gcc/c/c-parser.cc +++ b/gcc/c/c-parser.cc @@ -263,9 +263,24 @@ struct GTY(()) c_parser { otherwise NULL. */ vec *in_omp_attribute_pragma; + /* When in_omp_attribute_prag

Re: [PATCH v3 04/12] OpenMP: C front end support for metadirectives

2024-08-16 Thread Jakub Jelinek
On Sat, Jul 20, 2024 at 02:42:23PM -0600, Sandra Loosemore wrote: > --- a/gcc/c/c-parser.cc > +++ b/gcc/c/c-parser.cc > @@ -263,9 +263,24 @@ struct GTY(()) c_parser { > otherwise NULL. */ >vec *in_omp_attribute_pragma; > > + /* When in_omp_attribute_pragma is non-null, these fields sa

[PATCH v3 04/12] OpenMP: C front end support for metadirectives

2024-07-20 Thread Sandra Loosemore
This patch adds support to the C front end to parse OpenMP metadirective constructs. It includes support for early parse-time resolution of metadirectives (when possible) that will also be used by the C++ front end. Additional common C/C++ testcases are in a later patch in the series. gcc/c-fami