http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45521
--- Comment #5 from janus at gcc dot gnu.org 2012-04-19 12:53:05 UTC --- (In reply to comment #4) > Here is a preliminary patch which makes gfortran accept the code in comment > #2: Of course we need to do more. As quoted in comment #0: "Two dummy arguments are distinguishable if - one is a procedure and the other is a data object, - they are both data objects or known to be functions, and neither is TKR compatible with the other, - one has the ALLOCATABLE attribute and the other has the POINTER attribute, or - one is a function with nonzero rank and the other is not known to be a function." The patch above only handles the third item, and the second item works already. Items #1 and #4 are still missing (I think).