From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1248 invoked by alias); 14 Apr 2005 22:33:39 -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 32740 invoked by uid 48); 14 Apr 2005 22:33:28 -0000 Date: Thu, 14 Apr 2005 22:33:00 -0000 From: "nicolas dot girard at nerim dot net" To: gcc-bugs@gcc.gnu.org Message-ID: <20050414223325.21034.nicolas.girard@nerim.net> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug fortran/21034] New: internal compiler error: in gfc_trans_auto_array_allocation, at fortran/trans-array.c:3036 X-Bugzilla-Reason: CC X-SW-Source: 2005-04/txt/msg01980.txt.bz2 List-Id: Hi, I was in the process of translating a program written in f77 into f90 when this bug occurred. All I did was to add parameters to a function ; these parameters must correspond to the dimensions of arrays, as I want to allocate memory to them dynamically. I declared my arrays like: real*8,dimension(n1,n2) tab1, tab2 and n1 and n2 are the two variables I added in the parameters of my function. "$ gfc --version" gives: GNU Fortran 95 (GCC 4.1.0 20050413 (experimental)) Compilation options: -ffixed-line-length-132 -Wall -static I'm completely stuck because of this problem, therefore if you had the slightest idea, even just to get round this, I'd be *much* interested... Many thanks in advance ! -- Summary: internal compiler error: in gfc_trans_auto_array_allocation, at fortran/trans- array.c:3036 Product: gcc Version: 4.1.0 Status: UNCONFIRMED Severity: normal Priority: P2 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: nicolas dot girard at nerim dot net CC: gcc-bugs at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21034