Taking the address of a register (Re: Swap by name)

Guido van Rossum guido at mcvax.uucp
Fri Jul 11 08:01:19 AEST 1986


In article <2036 at brl-smoke.ARPA> rbj at icst-cmr.ARPA writes:
~> Suggestion to make the compiler introduce a temporary when the
~> address of a register variable is passed as argument to a function.

Rather than cluttering the compiler with more crap than this, write an
optimizing compiler that doesn't need register declarations but can find
out for itself what variables are best put in registers.

If you want to make the language's level higher by doing something to
register variables, remove them from the language instead of giving them
'pseudo-auto' status.

Or did I mis some implicit `:-)' in your article?

	Guido van Rossum, CWI, Amsterdam <guido at mcvax.uucp>



More information about the Comp.lang.c mailing list