https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119889
--- Comment #2 from Jürgen Reuter <juergen.reuter at desy dot de> --- (In reply to Jerry DeLisle from comment #1) > Thankyou for this report. Can you tell us the version number of gfortran? > > gfortran -v will list the version. It fails for sure with the two default compilers of Ubuntu 20 and 22 LTS, i.e. 9.5.0 and 11.4.0.