alloca (was Alloca for Turbo C)
Chris Torek
torek at elf.ee.lbl.gov
Sun Mar 3 16:39:53 AEST 1991
In article <51339 at cornell.UUCP> ressler at cs.cornell.edu (Gene Ressler) writes:
>I'm asking those who are really familiar with the TC's code generator
>if they know of other dangers e.g. functions with no locals,
>tail calls, nested blocks with locals, and so on. ...
This sort of thing is exactly why (choose all that apply):
(a) alloca should never be used;
(b) alloca must be built into the compiler;
(c) using alloca makes code less portable.
(Note that different people will choose different sets.)
--
In-Real-Life: Chris Torek, Lawrence Berkeley Lab EE div (+1 415 486 5427)
Berkeley, CA Domain: torek at ee.lbl.gov
More information about the Comp.lang.c
mailing list