From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8494 invoked by alias); 4 Apr 2007 15:15:54 -0000 Received: (qmail 7974 invoked by uid 48); 4 Apr 2007 15:15:41 -0000 Date: Wed, 04 Apr 2007 15:15:00 -0000 Message-ID: <20070404151541.7973.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug fortran/29507] INDEX in an array initialization causes ICE In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "pault at gcc dot gnu dot org" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2007-04/txt/msg00290.txt.bz2 ------- Comment #7 from pault at gcc dot gnu dot org 2007-04-04 16:15 ------- Created an attachment (id=13328) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13328&action=view) A better fix for the PR This version of the patch has been moved to expr.c. It seems that PR29507, PR31211 and PR31404 are all fixed. PR29397 is due to something else. I will have a look as soon as I have this one finished. It needs: (i) Checking for memory leaks - I do not think that the expressions are being cleaned up properly; (ii) A rudimentary conformance check is need. gfc_conformance_check segfaults on some of the expressions; and (iii) I need to check what happens with implicit loop array constructors. Anyway, this patch is halfway through regtesting, as I write, and is doing fine. Paul -- pault at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #12479|0 |1 is obsolete| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29507