]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
openmp: Fix typo in diagnostics [PR109314]
authorJakub Jelinek <jakub@redhat.com>
Tue, 28 Mar 2023 09:39:46 +0000 (11:39 +0200)
committerJakub Jelinek <jakub@redhat.com>
Tue, 28 Mar 2023 09:39:46 +0000 (11:39 +0200)
Trivial typo fix.

2023-03-28  Jakub Jelinek  <jakub@redhat.com>

PR fortran/109314
* openmp.cc (gfc_omp_absent_contains_clause): Fix typo in diagnostics
- composit -> composite.

gcc/fortran/openmp.cc

index abca146d78ee2222c524a498a6d84e5f8f5170a7..b8b66869908e20cce00858c30091f9c1bfc69b8e 100644 (file)
@@ -1528,7 +1528,7 @@ gfc_omp_absent_contains_clause (gfc_omp_assumptions **assume, bool is_absent)
          if (st == ST_NONE)
            gfc_error ("Unknown directive at %L", &old_loc);
          else
-           gfc_error ("Invalid combined or composit directive at %L",
+           gfc_error ("Invalid combined or composite directive at %L",
                       &old_loc);
          return MATCH_ERROR;
        }