http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45827
Mikael Morin <mikael at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mikael at gcc dot gnu.org --- Comment #5 from Mikael Morin <mikael at gcc dot gnu.org> 2010-09-29 10:40:27 UTC --- Joost, I think your problem is different and deserves a separate PR. About the original problem, it seems it is a makefile problem. One needs to insert the module dependencies in the makefile so that make recompiles and updates module files appropriately. Like this: kinds.o kinds.mod: kinds.f90 $(FC) $(FFLAGS) -c $< -o kinds.o arguments.o arguments_module.mod: arguments.f03 kinds.mod $(FC) $(FFLAGS) -c $< -o arguments.o And so on...