https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103039
--- Comment #9 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Tobias Burnus <bur...@gcc.gnu.org>: https://gcc.gnu.org/g:6393122d271a92d5d9d8656a57ea167e92498871 commit r12-7701-g6393122d271a92d5d9d8656a57ea167e92498871 Author: Tobias Burnus <tob...@codesourcery.com> Date: Fri Mar 18 14:50:36 2022 +0100 Fortran/OpenMP: Improve associate-name diagnostic [PR103039] gcc/fortran/ChangeLog: PR fortran/103039 * openmp.cc (resolve_omp_clauses): Improve associate-name diagnostic for select type/rank. gcc/testsuite/ChangeLog: PR fortran/103039 * gfortran.dg/gomp/associate1.f90: Update dg-error. * gfortran.dg/gomp/associate2.f90: New test.