]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/ChangeLog
Fix PR47127: call cloog_state_malloc and cloog_state_free only once.
authorSebastian Pop <sebastian.pop@amd.com>
Sat, 12 Mar 2011 22:05:38 +0000 (22:05 +0000)
committerSebastian Pop <spop@gcc.gnu.org>
Sat, 12 Mar 2011 22:05:38 +0000 (22:05 +0000)
commit57d598f76c30d7a78686552398a4ce45550dc982
tree7668cf622bac8898324ae5e873bfafe28e1a1293
parent2e49964fd8691ca13e33df656da7fc4b27c1a77b
Fix PR47127: call cloog_state_malloc and cloog_state_free only once.

2011-03-12  Sebastian Pop  <sebastian.pop@amd.com>

PR tree-optimization/47127
* graphite-clast-to-gimple.c (build_cloog_prog): Removed state
parameter.
(set_cloog_options): Same.
(scop_to_clast): Same.
(print_clast_stmt): Do not call cloog_state_malloc and
cloog_state_free.
(print_generated_program): Same.
(gloog): Same.
* graphite-clast-to-gimple.h (cloog_state): Declared.
(scop_to_clast): Adjust declaration.
* graphite.c (cloog_state): Defined here.
(graphite_initialize): Call cloog_state_malloc.
(graphite_finalize): Call cloog_state_free.

From-SVN: r170907
gcc/ChangeLog
gcc/graphite-clast-to-gimple.c
gcc/graphite-clast-to-gimple.h
gcc/graphite.c