Re: [Patch] OpenMP: Document ompx warnings + add Fortran omx warning [PR106670]

2022-09-08 Thread Jakub Jelinek via Gcc-patches
On Mon, Aug 29, 2022 at 11:24:52AM +0200, Tobias Burnus wrote: > PR fortran/106670 > > gcc/fortran/ChangeLog: > > * scanner.cc (skip_fixed_omp_sentinel): Add -Wsurprising warning > for 'omx' sentinels with -fopenmp. > * invoke.texi (-Wsurprising): Document additional warni

[Patch] OpenMP: Document ompx warnings + add Fortran omx warning [PR106670]

2022-08-29 Thread Tobias Burnus
(Patch + RFC.) OpenMP 5.2 has 'ompx' and (for fixed source form Fortran) 'omx' as sentinel to provide a defined namespace for vendor extensions. The behavior when encountering an unknown directive with ompx/omp sentinel (or an unknown clause with ompx_ prefix) is implementation defined. For unkn