At https://gcc.gnu.org/git?p=gcc.git;a=blob;f=gcc/fortran/openmp.cc;h=ce719bd5d92dc40185a4d0215d5db13b7956acba;hb=HEAD#l6538 there is a message ORDER clause must not be used together ORDERED at %L In my mind, that would read better by adding "with" after "together".
Agreed. Will take care of it.
The master branch has been updated by Harald Anlauf <anlauf@gcc.gnu.org>: https://gcc.gnu.org/g:96f4ba4d19a765902af7b79aa77d52c62fa2f82c commit r15-7077-g96f4ba4d19a765902af7b79aa77d52c62fa2f82c Author: Harald Anlauf <anlauf@gmx.de> Date: Mon Jan 20 21:21:48 2025 +0100 Fortran: improve error message for conflicting OpenMP clauses [PR107122] PR fortran/107122 gcc/fortran/ChangeLog: * openmp.cc (resolve_omp_clauses): Add 'with' to error message text. gcc/testsuite/ChangeLog: * gfortran.dg/gomp/order-8.f90: Adjust pattern.
Fixed in gcc-15. Thanks for the report!