Re: [PATCH v3 07/12] OpenMP: Fortran front-end support for metadirectives.

2024-08-16 Thread Jakub Jelinek
On Sat, Jul 20, 2024 at 02:42:26PM -0600, Sandra Loosemore wrote: > This patch adds support for metadirectives to the Fortran front end. > + else if (c->op == EXEC_OMP_METADIRECTIVE) > +{ > + gfc_omp_variant *variant > + = c->ext.omp_variants; Why two lines? This is short enough to

[PATCH v3 07/12] OpenMP: Fortran front-end support for metadirectives.

2024-07-20 Thread Sandra Loosemore
This patch adds support for metadirectives to the Fortran front end. gcc/fortran/ChangeLog * decl.cc (gfc_match_end): Handle metadirectives. * dump-parse-tree.cc (show_omp_node): Likewise. (show_code_node): Likewise. * gfortran.h (enum gfc_statement): Add ST_OMP_MET