]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR tree-optimization/42771 ([graphite] ICE: in graphite_loop_normal_form, at graph...
authorSebastian Pop <seb@napoca>
Thu, 11 Feb 2010 19:42:38 +0000 (19:42 +0000)
committerSebastian Pop <spop@gcc.gnu.org>
Thu, 11 Feb 2010 19:42:38 +0000 (19:42 +0000)
commita1954f72c64181e9cd63945c12776e168f166bc3
tree9a93f6270813899e2fca5101fe3e5ca955c10cee
parent01e64c3dc777ec3515ca89cb279410edab2fc5c2
re PR tree-optimization/42771 ([graphite] ICE: in graphite_loop_normal_form, at graphite-sese-to-poly.c (2))

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.

From-SVN: r156711
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]