[Bug fortran/58992] New: Bogus error "Entity with assumed character length at (1) must be a dummy argument or a PARAMETER" with associate and character string

vladimir.fuka at gmail dot com gcc-bugzilla@gcc.gnu.org
Mon Nov 4 21:34:00 GMT 2013


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

            Bug ID: 58992
           Summary: Bogus error "Entity with assumed character length at
                    (1) must be a dummy argument or a PARAMETER" with
                    associate and character string
           Product: gcc
           Version: 4.8.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: vladimir.fuka at gmail dot com

> cat assoc.f90

associate (x=>trim("abc"))
end associate
end

> gfortran assoc.f90 
assoc.f90:1.25:

associate (x=>trim("abc"))
                         1
Error: Entity with assumed character length at (1) must be a dummy argument or
a PARAMETER



More information about the Gcc-bugs mailing list