This is yet another revision of the patch series posted at: https://gcc.gnu.org/pipermail/gcc-patches/2024-November/670333.html and incorporates the non-constant iterator bounds support posted at: https://gcc.gnu.org/pipermail/gcc-patches/2024-December/671630.html
Compared to the previous patch set (v4), this set contains additional support for some recently committed OpenMP features (custom mapper and Fortran deep mapping), and bug-fixes, particularly for the handling of structs.
Tested on a x86-64 Linux host with offloading to nvptx. Kwok