------- Comment #2 from burnus at gcc dot gnu dot org 2007-11-08 10:32 ------- > "Two dummy arguments are distinguishable if neither is a subroutine and > neither is TKR compatible (5.1.1.2) with the other." > > Does this mean, though, that a subroutine is or is not distinguishable from a > variable?
This indeed means that for (checking) generic interfaces, a subroutine dummy is not distinguishable from a variable or function dummy. (And for distinguishing variables/functions dummies only TKR is used.) See also http://groups.google.com/group/comp.lang.fortran/browse_thread/thread/18873113b18cd5e9/ and there especially the (first) posts of Craig Dedo and Richard Maine. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34004