Fix fall outs from Fix-PR42334.
commit708af0257f00f00b7a2af89f7735c594a034ab0c
authorspop <spop@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 15 Dec 2009 21:11:48 +0000 (15 21:11 +0000)
committerspop <spop@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 15 Dec 2009 21:11:48 +0000 (15 21:11 +0000)
treef95b73f463d490a49a0f6c8792aeb6062d2b38b4
parentc02e55c92e9d6ad4def87b0f54b70433f6175a89
Fix fall outs from Fix-PR42334.

2009-12-15  Sebastian Pop  <sebastian.pop@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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/graphite@155273 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog.graphite
gcc/graphite-interchange.c
gcc/testsuite/gfortran.dg/graphite/graphite.exp
gcc/testsuite/gfortran.dg/graphite/interchange-1.f
gcc/testsuite/gfortran.dg/graphite/interchange-2.f
gcc/testsuite/gfortran.dg/graphite/pr42334-1.f [new file with mode: 0644]