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