gfortran segfaults when I compile the following module. It also segfaults if I
change "i = k()" to "i = j()".

MODULE ksbin1_aux_mod
  CONTAINS
    SUBROUTINE sub
    i = k()
    END SUBROUTINE sub
    FUNCTION j () 
    j = 0 
    ENTRY k () 
    k = 0
    END FUNCTION j
END MODULE ksbin1_aux_mod


-- 
           Summary: gfortran segfaults when compiling a module that calls a
                    contained function with an ENTRY point
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: michael dot a dot richmond at nasa dot gov


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

Reply via email to