gcc/fortran/ChangeLog:
* openmp.cc (gfc_check_omp_requires): Fix clause name in error.
Co-authored-by: Chung-Lin Tang <cltang@codesourcery.com>
(cherry picked from commit
8af266501795dd76d05faef498dbd3472a01b305)
+2022-08-30 Tobias Burnus <tobias@codesourcery.com>
+
+ Backport from mainline:
+ 2022-05-27 Tobias Burnus <tobias@codesourcery.com>
+ Chung-Lin Tang <cltang@codesourcery.com>
+
+ * openmp.cc (gfc_check_omp_requires): Fix clause name in error.
+
2022-08-23 Tobias Burnus <tobias@codesourcery.com>
Backport from mainline:
if ((ref_omp_requires & OMP_REQ_REVERSE_OFFLOAD)
&& !(ns->omp_requires & OMP_REQ_REVERSE_OFFLOAD))
gfc_error ("Program unit at %L has OpenMP device constructs/routines "
- "but does not set !$OMP REQUIRES REVERSE_OFFSET but other "
+ "but does not set !$OMP REQUIRES REVERSE_OFFLOAD but other "
"program units do", &ns->proc_name->declared_at);
if ((ref_omp_requires & OMP_REQ_UNIFIED_ADDRESS)
&& !(ns->omp_requires & OMP_REQ_UNIFIED_ADDRESS))