varargs in the world

Henry Spencer henry at utzoo.UUCP
Tue Nov 25 08:10:35 AEST 1986


> Are there any compilers/RTL's out there which do *not* support "varargs"?

If you look long and hard, you can probably find a few.  I got an M.Sc.
thesis out of the problems involved in compiling C for a Pascal-oriented
machine whose architecture insisted on knowing the total size of the
parameters passed to each function.  Note, *the* total size -- it had to
be the same for all calls.  The architecture did not provide the primitives
necessary for building your own calling sequence, either.  Apart from some
really horrible trickery with compiler and loader cooperating, the only
fix was new microcode.  That's what was eventually done to make C viable
on that thing; varargs was only the beginning of its problems.
-- 
				Henry Spencer @ U of Toronto Zoology
				{allegra,ihnp4,decvax,pyramid}!utzoo!henry



More information about the Comp.lang.c mailing list