Hi,

the following code does not link:

program gfcbug55
  integer(kind=1) :: i1(4) = 1
  integer(kind=2) :: i2(4) = 1
  print *, minloc(i1), minloc(i2)       ! These are missing
  print *, maxloc(i1), maxloc(i2)       ! from libgfortran
end program gfcbug55

Cheers,
-ha


-- 
           Summary: MINLOC, MAXLOC missing for integer kinds 1 and 2
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libfortran
        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=30415

Reply via email to