------- Comment #2 from anlauf at gmx dot de  2009-12-23 22:39 -------
Note that I personally would declare sub as generic in mod1, e.g.

module mod1
  interface sub
     module procedure sub
  end interface
contains
  subroutine sub(x)
    real x
  end subroutine sub
end module mod1

and remove the corresponding module procedure in mod2, as this resolves
the compilation errors with gfortran and nagfor.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42481

Reply via email to