On Sat, Oct 14, 2023 at 03:46:52PM -0600, Sandra Loosemore wrote: > On 10/14/23 13:43, Tobias Burnus wrote: > > When browsing libgomp doc, I came across > > https://gcc.gnu.org/onlinedocs/libgomp/Enabling-OpenMP.html>> First, I > > found especially the Fortran part difficult to read. Secondly, > > it missed the C++ attribute syntax. And I also missed a reference to > > -fopenmp-simd. > > > > The attached patch tries to improve this. Note that it talks about C and > > C++ attributes, even though C23's [[omp::]] support has not yet landed. > > (But is expected very soon.) > > Is somebody actively working on implementing that, and expecting to get it > in before Stage 1 closes? I don't think we should document features that I am (attached is a WIP, which can now compile most of g++.dg/gomp/attrs-1.C in -std=c2x -fopenmp, except for the scan/section directives). That said, I agree it might be premature to document it before it is in. > don't exist yet. This syntax for C also isn't even in the draft OpenMP 6.0 > document so at this point it's just a hypothetical extension. It is in OpenMP spec git and it is very unlikely it would be removed. Jakub