From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12759 invoked by alias); 20 Mar 2010 10:45:28 -0000 Received: (qmail 12562 invoked by uid 48); 20 Mar 2010 10:45:02 -0000 Date: Sat, 20 Mar 2010 10:45:00 -0000 Message-ID: <20100320104502.12561.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug middle-end/42181] [4.5 Regression][graphite] -fgraphite-identity miscompiles air.f90 In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "dominiq at lps dot ens dot fr" 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-03/txt/msg01942.txt.bz2 ------- Comment #25 from dominiq at lps dot ens dot fr 2010-03-20 10:45 ------- > We are executing the range [scat_1+1, T_10-2] before executing the > range [0, scat_1-1]. Do you understand why graphite does not detect that the loop for [scat_1+1, T_10-2] depends on the one for [0, scat_1-1]? Second question why does graphite exchange the order of the split loops? Note also that in the original loop handling the loop for [0, scat_1-1] is tricky when scat_1==1 (fctr = fctr1*fctr2 and fctr2 = -o*fctr2 must be handled correctly). -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42181