]> git.ipfire.org Git - thirdparty/gcc.git/commit
OpenMP/Fortran: uses_allocators - suggest 5.2 format in the warning
authorTobias Burnus <tburnus@baylibre.com>
Fri, 12 Dec 2025 21:44:15 +0000 (22:44 +0100)
committerTobias Burnus <tburnus@baylibre.com>
Fri, 12 Dec 2025 21:44:15 +0000 (22:44 +0100)
commitd02eebea7ea937026c4de4453b3753088da38dd8
treefa8fecd895813fd23f0c3dffe1d6e3d4dd1f8dd1
parent7146cfc333e32ca25a7e39dfb60030157c7f8828
OpenMP/Fortran: uses_allocators - suggest 5.2 format in the warning

Actually mention how the new 5.2+ syntax looks like when outputting
the deprecation warning for 'uses_allocators'.

gcc/fortran/ChangeLog:

* openmp.cc (gfc_match_omp_clause_uses_allocators): Mention
new syntax in deprecation warning.

libgomp/ChangeLog:

* testsuite/libgomp.fortran/dep-uses-allocators.f90: Update
dg-warning.
gcc/fortran/openmp.cc
libgomp/testsuite/libgomp.fortran/dep-uses-allocators.f90