This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/47127] gcc.dg/graphite/id-14.c ICEs with cloog-parma
- From: "spop at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 12 Mar 2011 22:05:49 +0000
- Subject: [Bug middle-end/47127] gcc.dg/graphite/id-14.c ICEs with cloog-parma
- Auto-submitted: auto-generated
- References: <bug-47127-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47127
--- Comment #7 from Sebastian Pop <spop at gcc dot gnu.org> 2011-03-12 22:05:41 UTC ---
Author: spop
Date: Sat Mar 12 22:05:38 2011
New Revision: 170907
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=170907
Log:
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.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/graphite-clast-to-gimple.c
trunk/gcc/graphite-clast-to-gimple.h
trunk/gcc/graphite.c