https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103628
--- Comment #3 from seurer at gcc dot gnu.org --- There isn't a check_mod.f90 but there is a check_mod.F90 (Linux is case sensitive) and using that I was able to reproduce.
seurer at gcc dot gnu.org via Gcc-bugs Thu, 17 Feb 2022 05:46:20 -0800
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103628
--- Comment #3 from seurer at gcc dot gnu.org --- There isn't a check_mod.f90 but there is a check_mod.F90 (Linux is case sensitive) and using that I was able to reproduce.