------- Comment #4 from spop at gcc dot gnu dot org 2009-12-15 21:12 ------- Subject: Bug 42334
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 <sebastian....@amd.com> 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=42334