From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30193 invoked by alias); 3 Jun 2004 20:12:29 -0000 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 Received: (qmail 30181 invoked by uid 48); 3 Jun 2004 20:12:28 -0000 Date: Thu, 03 Jun 2004 20:12:00 -0000 From: "giese025 at tc dot umn dot edu" To: gcc-bugs@gcc.gnu.org Message-ID: <20040603201220.15809.giese025@tc.umn.edu> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug fortran/15809] New: ICE Using Pointer Functions X-Bugzilla-Reason: CC X-SW-Source: 2004-06/txt/msg00379.txt.bz2 List-Id: The file foo.f95 compiles without error nor warning with the NAG f95 compiler but produces an internal compiler error with g95 (x86 Linux Binary (06/02/04) from http://www.g95.org). The error messege produced is: foo.f95: In function `reallocate_hnv__': foo.f95:1: internal compiler error: in find_function_data, at function.c:311 This was performed on a Redhat 9 machine. The program simply contains a function and a subroutine. The function produces a pointer of a specified vector length and fills in the array from an input pointer. The input pointer is then deallocated. The function itself will compile fine, but produces the ICE when used in another subroutine. foo.f95 will be submitted as an attachment in the next comment. -- Summary: ICE Using Pointer Functions Product: gcc Version: tree-ssa Status: UNCONFIRMED Severity: normal Priority: P2 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: giese025 at tc dot umn dot edu CC: gcc-bugs at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15809