This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/25597] ICE with allocate on the return value of a function, character array with a len of an argument
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 1 Jan 2006 06:27:48 -0000
- Subject: [Bug fortran/25597] ICE with allocate on the return value of a function, character array with a len of an argument
- References: <bug-25597-11936@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #5 from pinskia at gcc dot gnu dot org 2006-01-01 06:27 -------
(In reply to comment #4)
> A little further reduced:
Actually that is a different bug.
Anyways the reduced testcase looks like:
FUNCTION reallocate_hnv(p,n,LEN)
CHARACTER(LEN=LEN), DIMENSION(:), POINTER :: reallocate_hnv
ALLOCATE(reallocate_hnv(n))
END FUNCTION reallocate_hnv
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|ICE with allocate on the |ICE with allocate on the
|return value of a function, |return value of a function,
|character with a len of an |character array with a len
|argument |of an argument
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25597