https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109218
--- Comment #1 from Tobias Burnus <burnus at gcc dot gnu.org> --- >From Paul Thomas from bug 109208 comment #11: > NAG Fortran Compiler Release 7.1(Hanzomon) Build 7115 > Error: pr109209.f90, line 63: Type-bound procedure T3_SET_EXPAND must be a > module procedure or external procedure with an explicit interface > detected at T3_SET_EXPAND@( ... > [pault@pc30 pr37336]$ rm ./a.out;ifort pr109209.f90 -g;./a.out > pr109209.f90(63): error #6115: A separate interface body must have been > declared in the program unit or an ancestor of the program unit for the > separate module procedure. [T3_SET_EXPAND] > module subroutine t3_set_expand (res_set) ... > both compile it just fine if you > s/module subroutine t3_set_expand/subroutine t3_set_expand/