This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: More alloca patches
- To: "Mark P. Mitchell" <mark at codesourcery dot com>, Michael Meissner <meissner at cygnus dot com>
- Subject: Re: More alloca patches
- From: Richard Henderson <rth at cygnus dot com>
- Date: Mon, 1 Nov 1999 16:14:28 -0800
- Cc: gcc-patches at gcc dot gnu dot org
- References: <199911012320.QAA16716521@n02.acl.lanl.gov>
On Mon, Nov 01, 1999 at 04:20:23PM -0700, Mark P. Mitchell wrote:
> * bitmap.h (BITMAP_XMALLOC): New macro.
I don't think this is the right approach here. We're allocating
3 words which should just IMO be allocated on the stack as normal
local storage.
I don't think it's that difficult interface-wise to do something like
> ! uid_volatile = BITMAP_XMALLOC ();
bitmap_head uid_volatile_head;
uid_volatile = bitmap_initialize (&uid_volatile_head);
I think what we're currently doing is being over-general for no
visible benefit.
Michael, you originally wrote this stuff, did you have a particular
reason for this method?
r~