Hi,

the attached legal code fails to compile with gfortran.

% gfortran gfcbug48.f90
gfcbug48.f90:30.76:

   use module2, only : inverse     ! <-- gfortran does handle this properly
                                                                          1 
Error: Ambiguous interfaces 'inverse_submatrix' and 'inverse_submatrix' in
gener
ic interface 'inverse' at (1)
gfcbug48.f90:30.76:

   use module2, only : inverse     ! <-- gfortran does handle this properly
                                                                          1 
Error: Ambiguous interfaces 'inverse_submatrix' and 'inverse_submatrix' in
gener
ic interface 'inverse' at (1)


-- 
           Summary: Interface bug: gfortran falsely detect ambigious
                    interface, scoping problem?
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: anlauf at gmx dot de
  GCC host triplet: i686-pc-linux-gnu


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

Reply via email to