Hi Steve, The changes in gfortran.dg/submodule_22.f08 look weird: (1) is the error in the CONTAINS of a SUBMODULE invalid? From
* decl.c (in_module_or_interface): New function to check that the current state is in a module, submodule, or interface. it should not, should it? (2) left over? + +found outside of a module TIA Dominique