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

rbj%icst-cmr at smoke.UUCP rbj%icst-cmr at smoke.UUCP
Tue Jul 15 08:19:14 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>

UNCLE! As for those Hazletine terminals, hook them all up to machines
where sizeof(int) != sizeof(any *0)!!!

	(Root Boy) Jim Cottrell		<rbj at icst-cmr.arpa>
	Can you MAIL a BEAN CAKE?



More information about the Comp.lang.c mailing list