------- Comment #1 from jvdelisle at gcc dot gnu dot org 2006-04-11 05:02 ------- Intel agrees with gfortran:
fortcom: Error: foofoo.f90, line 25: The type/rank/keyword signature for this specific procedure matches another specific procedure that shares the same generic-spec. [FOO2] use m2 ------^ fortcom: Error: foofoo.f90, line 24: The type/rank/keyword signature for this specific procedure matches another specific procedure that shares the same generic-spec. [FOO1] use m1 ------^ compilation aborted for foofoo.f90 (code 1) Also Lahey checker agrees: Checking file SOURCE.F90. Checking program unit M1 at line 1. Checking program unit M2 at line 12. Checking program unit TEST at line 23. Line 25, file SOURCE.F90 use m2 | FATAL -- The arguments for procedures (FOO2) and (FOO1) allow references to the generic procedure to be ambiguous (see "Procedure Interfaces" in your Fortran 90 language reference). Encountered 1 error, 0 warnings in file SOURCE.F90. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27112