From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17904 invoked by alias); 28 Oct 2008 06:26:51 -0000 Received: (qmail 17314 invoked by uid 48); 28 Oct 2008 06:25:30 -0000 Date: Tue, 28 Oct 2008 06:26:00 -0000 Message-ID: <20081028062530.17313.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug fortran/37903] [4.3/4.4 Regression] wrong-code for complicated vector subscripts 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/msg01798.txt.bz2 ------- Comment #6 from pault at gcc dot gnu dot org 2008-10-28 06:25 ------- (In reply to comment #3) > I suspect this is only hiding the problem though. > Indeed it is - the old problem returns with integer :: i(-1:1) = 1, j(3) = 1, k(3) k = j(I + (/1,1,1/)) end for obvious reasons. It's a nice try though and you are obviously getting to the nub of the problem. Paul -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37903