]> git.ipfire.org Git - thirdparty/gcc.git/commit
openmp: Fix diagnostics typo [PR118993]
authorJakub Jelinek <jakub@redhat.com>
Mon, 24 Feb 2025 08:25:34 +0000 (09:25 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Mon, 24 Feb 2025 08:25:34 +0000 (09:25 +0100)
commit27ebd2a55cd373542977b21631b6b0919e703733
tree984be68bb09f9dae65be80bd887df842fc795b09
parent0d590d21586edbb9c62ce3db92794d93faf7ed34
openmp: Fix diagnostics typo [PR118993]

There is a typo in one of the OpenMP gimplification diagnostics messages.
The following patch fixes that and adjusts tests which just copied that
message including typo to dg-warning regexps in 2 tests.

2025-02-24  Jakub Jelinek  <jakub@redhat.com>

PR middle-end/118993
* gimplify.cc (gimplify_scan_omp_clauses): Fix diagnostics typo,
undfined -> undefined.

* c-c++-common/gomp/allocate-18.c: Adjust dg-warning regex for
diagnostics typo fix.
* gfortran.dg/gomp/allocate-clause.f90: Likewise.
gcc/gimplify.cc
gcc/testsuite/c-c++-common/gomp/allocate-18.c
gcc/testsuite/gfortran.dg/gomp/allocate-clause.f90