Libiberty functions

Andrew Pinski pinskia@gmail.com
Thu Mar 8 13:14:00 GMT 2007


On 3/8/07, Diego Novillo <dnovillo@redhat.com> wrote:
> Another convenient way of allocating a pool of memory is to use obstacks
> (See libiberty/obstack.c).

Though alloc-pool might be a better idea than obstack, see
alloc-pool.[ch].  As alloc-pool contains checking code while obstack
does not.

-- Pinski



More information about the Gcc mailing list