https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82480
Janne Blomqvist <jb at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jb at gcc dot gnu.org --- Comment #3 from Janne Blomqvist <jb at gcc dot gnu.org> --- Actually, libgfortran already has a version of stat with integer(kind=int64) arguments. If you compile with -fdefault-integer-8 you get that one, and the expected output. However, there seems to be no way of calling the int64 version without redefining the default integer kind. That should be fixable.