From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3548 invoked by alias); 30 Oct 2008 11:13:39 -0000 Received: (qmail 3494 invoked by uid 48); 30 Oct 2008 11:13:25 -0000 Date: Thu, 30 Oct 2008 11:13:00 -0000 Message-ID: <20081030111325.3493.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug fortran/37749] ICE on array section with vector subscript 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: 2008-10/txt/msg01969.txt.bz2 ------- Comment #3 from pault at gcc dot gnu dot org 2008-10-30 11:13 ------- (In reply to comment #2) > Created an attachment (id=16585) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16585&action=view) [edit] > proposed patch, regression tested > > This patch solves the problem by going through all the loop dimensions in > gfc_trans_create_temp_array to look for a NULL loop->to before the actual loop > execution and set size to NULL if one is found (it solves conditions (4) and > (5)). > Mikael, I was going to suggest that you look at this PR, since you have clearly attacked the scalarizer. Same question as before - do you have commit rights? Paul -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37749