[Bug fortran/41507] New: Documentation misleading on MAXLOC/MINLOC array type requirement

domob at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Tue Sep 29 16:22:00 GMT 2009


The gfortran manual's documentation about MAXLOC/MINLOC is misleading.  It
claims that the 'array' argument may be of CHARACTER type, which is true for
Fortran 2003.

However, the manual claims the intrinsic is Fortran 90/95 without further
notice about CHARACTER type being allowed only since F2003.  Additionally,
MAXLOC/MINLOC is not even implemented for CHARACTER type in gfortran yet.

I think the manual should at very least reflect what's actually implemented,
rather than just copy the description from the standard.  I've not checked, but
the same problem may exist with other intrinsics as well.


-- 
           Summary: Documentation misleading on MAXLOC/MINLOC array type
                    requirement
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Keywords: documentation
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: domob at gcc dot gnu dot org


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



More information about the Gcc-bugs mailing list