This is the mail archive of the gcc@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: RFC - Alternatives to gengtype


On 11/27/2012 03:51 PM, Diego Novillo wrote:
* Start implementing memory pools for data structures that do not need
to be in PCH images.  It is still not clear what types of memory pools
we will need, but at a minimum we are thinking of a permanent pool,
per-pass pools and at least one or two stage-based pools (e.g., front
ends).  We may be able to have some implemented for the 4.9 release.
By far the most important aspect of this is defining your pools and their lifetimes properly. If you're not careful, this will end up like the old obstack mess we had in the past.

I don't want to discourage the work, but we need to think carefully and get it right.

Jeff


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