Segmentation fault on valid code with nvfortran 23.1

this is (for the time being final case from our code) report on a problem with code compiled with nvfortran 23.1, leading to a segmentation violation,

Program received signal SIGSEGV, Segmentation fault.
__memmove_evex_unaligned_erms () at ../sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:513
513	../sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: No such file or directory.
(gdb) bt
#0  __memmove_evex_unaligned_erms () at ../sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:513
#1  0x00007ffff7bb1652 in pgf90_poly_asn_i8 () from /scratch/reuter/local/nvidia/hpc_sdk/Linux_x86_64/2023/compilers/lib/
#2  0x000000000040cb5c in phs_forests::phs_forest_set_prt_in_int () at phs_fo.f90:1316
#3  0x000000000040d3d1 in phs_forests_uti::phs_forest_1 () at phs_fo.f90:1377
#4  0x000000000040de57 in main_ut () at phs_fo.f90:1386

This is the reproducer, ca. 1.3k lines of code:
phs_fo.f90 (42.5 KB)
Best regards,

Thanks Juergen, filed as TPR #33625.