On Thu, Feb 09, 2023 at 11:16:39AM +0100, Tobias Burnus wrote: > Any further comments before I commit it? > OpenMP: Parse align clause in allocate directive in C/C++ > > gcc/c/ChangeLog: > > * c-parser.cc (c_parser_omp_allocate): Parse align > clause and check for restrictions. > > gcc/cp/ChangeLog: > > * parser.cc (cp_parser_omp_allocate): Parse align > clause.
The " and check for restrictions" part now applies also to C++... > + if (expr != error_mark_node) > + alignment = expr; > + /* FIXME: Remove when adding check to semantic.cc; cf FIXME below. */ s/semantic.cc/semantics.cc/ Ok with those nits fixed. Jakub