Hi,

here's an interface related bug I discovered which is not
yet mentioned in PR 29670.

% gfortran gfcbug46.f90
gfcbug46.f90:25.29:

    call random_number (t% x)
                            1
Error: There is no specific subroutine for the generic 'random_number' at (1)
gfcbug46.f90:20.29:

    call random_seed (size=n)
                            1
Error: There is no specific subroutine for the generic 'random_seed' at (1)


The code is standard-conforming and works with other compilers.
See the attached code for details.


-- 
           Summary: Interface bug overloading random_seed, random_number
           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=30081

Reply via email to