I’m not really sure. Do you have a specific example that I can try to recreate the problem here? I’ve looked at serveral of the configures that I have here but none seem to use conftest-module.f90. Also, which compiler version and OS are you using?
Sorry, I should have seen this in the first post. Debug information is contained in the modules object file since the “.mod” file contains only definitions. Add “subdir/conftest-module.o” to you link to bring in the debug info.