https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69524
--- Comment #3 from janus at gcc dot gnu.org ---
Here is a slightly reduced test case:
module A
interface
module subroutine A1
end
end interface
contains
subroutine A1
end
end
It's still invalid, but gives less errors with gfortran-5.
