From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28620 invoked by alias); 1 Jan 2006 06:27:49 -0000 Received: (qmail 28608 invoked by uid 48); 1 Jan 2006 06:27:48 -0000 Date: Sun, 01 Jan 2006 06:27:00 -0000 Message-ID: <20060101062748.28607.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug fortran/25597] ICE with allocate on the return value of a function, character array with a len of an argument In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "pinskia at gcc dot gnu dot org" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2006-01/txt/msg00074.txt.bz2 List-Id: ------- 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