From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3935 invoked by alias); 1 Jun 2010 14:09:33 -0000 Received: (qmail 3819 invoked by uid 48); 1 Jun 2010 14:09:13 -0000 Date: Tue, 01 Jun 2010 14:09:00 -0000 Message-ID: <20100601140913.3818.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug fortran/44354] incorrect output at run time In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "mikael 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: 2010-06/txt/msg00043.txt.bz2 ------- Comment #19 from mikael at gcc dot gnu dot org 2010-06-01 14:09 ------- Created an attachment (id=20795) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20795&action=view) Draft patch, version 2 Also pre-evaluate the lower bound. for a case like this : integer j(4) I=5 j = (/(i,i=I-1,8)/) end -- mikael at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #20787|0 |1 is obsolete| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44354