This is the mail archive of the gcc-patches@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]

Re: [tree-ssa] Put CFG into GGC memory


In message <1070390303.10893.1036.camel@p4>, Andrew MacLeod writes:
 >> OK, my summary:
 >> I was working on tast to make ggc_collect working during SSA
 >> optimization process.  This is done (I've enabled it today) and my main
 >> motivation has been to get the datastructures checked by GGC walk and
 >> also because it seemed generally right way to go.
 >> 
 >
 >> To accomplish that I had to create varray of PHI nodes as CFG nodes are
 >> not garbage collectable.  We've concluded that in longer run it would be
 >> better to make CFG visible to garbage collector so things can be
 >> referenced directly.
 >> 
 >> It removes the need for array in PHI nodes, of BB roots and also makes
 >> cfglayout in RTL mode GGC friendly.
 >
 >Yeah, I do not like the idea of a varray of PHI nodes at all...
Me neither.  The varray of PHIs for GC purposes is temporary.

jeff




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