diff options
author | Harald Anlauf <anlauf@gmx.de> | 2025-01-20 21:21:48 +0100 |
---|---|---|
committer | Harald Anlauf <anlauf@gmx.de> | 2025-01-20 21:21:48 +0100 |
commit | 96f4ba4d19a765902af7b79aa77d52c62fa2f82c (patch) | |
tree | f9e2eb40d2e43b190b381fcdb255357ece1ca491 /gcc/fortran/openmp.cc | |
parent | 749dcd9ba8466fec5b51dd564cd63424c44f808b (diff) | |
download | gcc-96f4ba4d19a765902af7b79aa77d52c62fa2f82c.zip gcc-96f4ba4d19a765902af7b79aa77d52c62fa2f82c.tar.gz gcc-96f4ba4d19a765902af7b79aa77d52c62fa2f82c.tar.bz2 |
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.
Diffstat (limited to 'gcc/fortran/openmp.cc')
-rw-r--r-- | gcc/fortran/openmp.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/fortran/openmp.cc b/gcc/fortran/openmp.cc index e51ff1f..be78aa1 100644 --- a/gcc/fortran/openmp.cc +++ b/gcc/fortran/openmp.cc @@ -8171,7 +8171,7 @@ resolve_omp_clauses (gfc_code *code, gfc_omp_clauses *omp_clauses, gfc_error ("ORDERED clause parameter is less than COLLAPSE at %L", &code->loc); if (omp_clauses->order_concurrent && omp_clauses->ordered) - gfc_error ("ORDER clause must not be used together ORDERED at %L", + gfc_error ("ORDER clause must not be used together with ORDERED at %L", &code->loc); if (omp_clauses->if_expr) { |