From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27602 invoked by alias); 15 Dec 2009 21:12:19 -0000 Received: (qmail 27531 invoked by alias); 15 Dec 2009 21:12:05 -0000 Date: Tue, 15 Dec 2009 21:12:00 -0000 Message-ID: <20091215211205.27529.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug middle-end/42178] [4.5 Regression] gcc.dg/graphite/interchange-8.c causes ICE In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "spop 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: 2009-12/txt/msg01524.txt.bz2 ------- Comment #5 from spop at gcc dot gnu dot org 2009-12-15 21:12 ------- Subject: Bug 42178 Author: spop Date: Tue Dec 15 21:11:48 2009 New Revision: 155273 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=155273 Log: Fix fall outs from Fix-PR42334. 2009-12-15 Sebastian Pop PR middle-end/42178 PR middle-end/42334 * graphite-interchange.c (lst_try_interchange): Do not increment the the OUTER index when there is no AFTER kernel. Do not increment the OUTER index for after processing the AFTER kernel. (lst_interchange_select_inner): Call lst_try_interchange only on loops. (lst_interchange_select_outer): Do not pass in a pointer to the OUTER index. Do not pass to lst_interchange_select_inner the OUTER index. (scop_do_interchange): Update use of lst_interchange_select_outer. * testsuite/gfortran.dg/graphite/graphite.exp (DEFAULT_FLAGS_GRAPHITE_IDENTITY): Remove -fdump-tree-graphite-all. * testsuite/gfortran.dg/graphite/interchange-1.f: Add comment. Clean the graphite dump file. * testsuite/gfortran.dg/graphite/interchange-2.f: Same. * testsuite/gfortran.dg/graphite/pr42334-1.f: New. Added: branches/graphite/gcc/testsuite/gfortran.dg/graphite/pr42334-1.f Modified: branches/graphite/gcc/ChangeLog.graphite branches/graphite/gcc/graphite-interchange.c branches/graphite/gcc/testsuite/gfortran.dg/graphite/graphite.exp branches/graphite/gcc/testsuite/gfortran.dg/graphite/interchange-1.f branches/graphite/gcc/testsuite/gfortran.dg/graphite/interchange-2.f -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42178