This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug middle-end/47127] gcc.dg/graphite/id-14.c ICEs with cloog-parma


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]