OSDN Git Service

Fix PR42732.
authorspop <spop@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 14 Jan 2010 07:38:15 +0000 (07:38 +0000)
committerspop <spop@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 14 Jan 2010 07:38:15 +0000 (07:38 +0000)
commitefe339e3ce830410f033049845a704a8487820ef
treee7d4749d1d7087c6a71839b545d5d0b794c4ca4d
parent1b374b02c41312743c59418b074020558727bc73
Fix PR42732.

2010-01-14  Sebastian Pop  <sebastian.pop@amd.com>

PR middle-end/42732
* graphite-clast-to-gimple.c (gloog): Call scev_reset_htab and
rename_nb_iterations.
* sese.c (rename_variables_in_operand): New.
(rename_variables_in_expr): New.
(rename_nb_iterations): New.
(sese_adjust_liveout_phis): Update the rename_map.
* sese.h (rename_nb_iterations): Declared.
* tree-scalar-evolution.c (scev_reset_htab): New.
(scev_reset): Call scev_reset_htab.
* tree-scalar-evolution.h (scev_reset_htab): Declared.

* testsuite/gfortran.dg/graphite/pr42732.f: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155881 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog.graphite
gcc/graphite-clast-to-gimple.c
gcc/sese.c
gcc/sese.h
gcc/testsuite/gfortran.dg/graphite/pr42732.f [new file with mode: 0644]
gcc/tree-scalar-evolution.c
gcc/tree-scalar-evolution.h