https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110626
--- Comment #1 from Javier MartÃn <habbit89 at hotmail dot es> --- Contextual/environment information: I could reproduce the issue with gfortran 13.1, running in both Debian Sid and MSYS2 UCRT64 on Windows 10 22H2. In Debian: > $ gfortran-13 -v > Using built-in specs. > COLLECT_GCC=gfortran-13 > COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-linux-gnu/13/lto-wrapper > OFFLOAD_TARGET_NAMES=nvptx-none:amdgcn-amdhsa > OFFLOAD_TARGET_DEFAULT=1 > Target: x86_64-linux-gnu > Configured with: ../src/configure -v --with-pkgversion='Debian 13.1.0-7' > --with-bugurl=file:///usr/share/doc/gcc-13/README.Bugs > --enable-languages=c,ada,c++,go,d,fortran,objc,obj-c++,m2,rust --prefix=/usr > --with-gcc-major-version-only --program-suffix=-13 > --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id > --libexecdir=/usr/libexec --without-included-gettext --enable-threads=posix > --libdir=/usr/lib --enable-nls --enable-bootstrap --enable-clocale=gnu > --enable-libstdcxx-debug --enable-libstdcxx-time=yes > --with-default-libstdcxx-abi=new --enable-gnu-unique-object > --disable-vtable-verify --enable-plugin --enable-default-pie > --with-system-zlib --enable-libphobos-checking=release > --with-target-system-zlib=auto --enable-objc-gc=auto --enable-multiarch > --disable-werror --enable-cet --with-arch-32=i686 --with-abi=m64 > --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic > --enable-offload-targets=nvptx-none=/build/gcc-13-Nk38xB/gcc-13-13.1.0/debian/tmp-nvptx/usr,amdgcn-amdhsa=/build/gcc-13-Nk38xB/gcc-13-13.1.0/debian/tmp-gcn/usr > --enable-offload-defaulted --without-cuda-driver --enable-checking=release > --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu > --with-build-config=bootstrap-lto-lean --enable-link-serialization=2 > Thread model: posix > Supported LTO compression algorithms: zlib zstd > gcc version 13.1.0 (Debian 13.1.0-7) In Windows: > C> gfortran-13 -v > Using built-in specs. > COLLECT_GCC=gfortran > COLLECT_LTO_WRAPPER=C:/Users/jvma/devtools/msys2/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.1.0/lto-wrapper.exe > Target: x86_64-w64-mingw32 > Configured with: ../gcc-13.1.0/configure --prefix=/ucrt64 > --with-local-prefix=/ucrt64/local --build=x86_64-w64-mingw32 > --host=x86_64-w64-mingw32 --target=x86_64-w64-mingw32 > --with-native-system-header-dir=/ucrt64/include --libexecdir=/ucrt64/lib > --enable-bootstrap --enable-checking=release --with-arch=nocona > --with-tune=generic --enable-languages=c,lto,c++,fortran,ada,objc,obj-c++,jit > --enable-shared --enable-static --enable-libatomic --enable-threads=posix > --enable-graphite --enable-fully-dynamic-string > --enable-libstdcxx-filesystem-ts --enable-libstdcxx-time > --disable-libstdcxx-pch --enable-lto --enable-libgomp --disable-libssp > --disable-multilib --disable-rpath --disable-win32-registry --disable-nls > --disable-werror --disable-symvers --with-libiconv --with-system-zlib > --with-gmp=/ucrt64 --with-mpfr=/ucrt64 --with-mpc=/ucrt64 --with-isl=/ucrt64 > --with-pkgversion='Rev7, Built by MSYS2 project' > --with-bugurl=https://github.com/msys2/MINGW-packages/issues --with-gnu-as > --with-gnu-ld --disable-libstdcxx-debug --with-boot-ldflags=-static-libstdc++ > --with-stage1-ldflags=-static-libstdc++ > Thread model: posix > Supported LTO compression algorithms: zlib zstd > gcc version 13.1.0 (Rev7, Built by MSYS2 project)