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]

Re: Mapping calls to declarations


On Tue, Aug 14, 2001 at 04:34:06PM +0100, James Montgomerie wrote:
> This seems to work, but the casting from pointers to ints and back makes me
> generally 'nervous'.  If there's another, less messy, solution, I'd still be
> grateful if it was pointed out.

Make the int be an index into an array in the backend.

> Also, my knowledge of the garbage collector is near to zero - is this a safe
> way to allocate and use memory (i.e. my memory's not going to be
> de-allocated before I use it)?

No.


r~


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