This patch fixes a corner case issue (missing list items in a map clause) and ensures that such an issue is caught. Committed to mainline as https://gcc.gnu.org/r14-1605-gdd958667821e38 It is a forward port of Thomas' OG12 then OG13 commit which fixed a run-time issue which the mainline version does not have; still fixing the map issue (and doing the check-point check) is a good idea and, hence, a likewise patch has now been applied to mainline as well. OG13 commit: https://gcc.gnu.org/g:f719ab9a3ac51d798b012a5ab7757af2b81b4ae2 OG12 commit, see Thomas email earlier in this thread. Tobias On 15.02.23 20:02, Thomas Schwinge wrote: > On 2023-02-09T21:17:44+0000, Kwok Cheung Yeung wrote: >> [...] > I've pushed to devel/omp/gcc-12 branch > commit bbda035ee62ba4db21356136c97e9d83a97ba7d1 > "Fix 'libgomp.{c-c++-common,fortran}/target-present-*' test cases", > see attached. [...] ----------------- Siemens Electronic Design Automation GmbH; Anschrift: Arnulfstraße 201, 80634 München; Gesellschaft mit beschränkter Haftung; Geschäftsführer: Thomas Heurung, Frank Thürauf; Sitz der Gesellschaft: München; Registergericht München, HRB 106955