Fix PR42771.regtest/success/2010_02_10_20_21_29
commit3ad4bdbbf97398cbf6e44f52703e4f219ac0f2ea
authorspop <spop@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 10 Feb 2010 16:47:04 +0000 (10 16:47 +0000)
committerspop <spop@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 10 Feb 2010 16:47:04 +0000 (10 16:47 +0000)
tree431fae5ba06ed898f1dccdefbde6f72c218c124a
parent42199c4ffa9ad7e3ead58b18a4a649d0c4427101
Fix PR42771.

2010-02-10  Sebastian Pop  <seb@napoca>

PR middle-end/42771
* graphite-clast-to-gimple.c (gloog): Call rename_sese_parameters.
* graphite-clast-to-gimple.h (gloog): Update declaration.
* graphite-poly.c (new_scop): Clear POLY_SCOP_P.
* graphite-poly.h (struct poly_bb): Add missing comments.
(struct scop): Add poly_scop_p field.
(POLY_SCOP_P): New.
* graphite-sese-to-poly.c (build_poly_scop): Set POLY_SCOP_P.
* graphite.c (graphite_transform_loops): Build the polyhedral
representation for each scop before code generation.
* sese.c (rename_variables_in_operand): Removed.
(rename_variables_in_expr): Return the renamed expression.
(rename_sese_parameters): New.
* sese.h (rename_sese_parameters): Declared.

* gcc.dg/graphite/pr42771.c: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/graphite@156664 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog.graphite
gcc/graphite-clast-to-gimple.c
gcc/graphite-clast-to-gimple.h
gcc/graphite-poly.c
gcc/graphite-poly.h
gcc/graphite-sese-to-poly.c
gcc/graphite.c
gcc/sese.c
gcc/sese.h
gcc/testsuite/gcc.dg/graphite/pr42771.c [new file with mode: 0644]