[Bug fortran/25618] New: ICE with allocate on the return value of a function, character with a len of an argument

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Sun Jan 1 06:31:00 GMT 2006


Testcase:
FUNCTION reallocate_hnv(p,n,LEN)
  CHARACTER(LEN=LEN),  POINTER :: reallocate_hnv
   ALLOCATE(reallocate_hnv)
END FUNCTION reallocate_hnv
--------

Very much related to PR 25597.


-- 
           Summary: ICE with allocate on the return value of a function,
                    character with a len of an argument
           Product: gcc
           Version: 4.2.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: pinskia at gcc dot gnu dot org
 BugsThisDependsOn: 25597
OtherBugsDependingO 19276
             nThis:


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




More information about the Gcc-bugs mailing list