From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10245 invoked by alias); 1 Mar 2008 23:16:06 -0000 Received: (qmail 10103 invoked by uid 48); 1 Mar 2008 23:15:23 -0000 Date: Sat, 01 Mar 2008 23:16:00 -0000 Message-ID: <20080301231523.10102.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug fortran/35418] [4.4 Regression]: Revision 132592 miscompiles 172.mgrid In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "tobi 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-03/txt/msg00048.txt.bz2 ------- Comment #3 from tobi at gcc dot gnu dot org 2008-03-01 23:15 ------- I checked the code leading up to this, and if I didn't miss a codepath, stride will always be of type gfc_array_index_type, so I'm inclined to believe that the bug, if any, is in fold. It is of course possible that folding allowed for a valid optimization that broke 172.mgrid. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35418