https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100961
--- Comment #4 from martin <mscfd at gmx dot net> --- In contrast to gfortran-11, with current master I do not see any errors or segfaults (not even with valgrind) anymore. Seems to have been fixed.