register variables on vaxen

gtaylor at lasspvax.UUCP gtaylor at lasspvax.UUCP
Sat Oct 13 03:32:18 AEST 1984



References:
Sender: 
Reply-To: cpf at lasspvax.UUCP (C. P. Footman)
Followup-To: 
Distribution: net
Organization: Theory Center (Cornell University)
Keywords: 

By writing a c routine that declared about fifteen variables to be register,
and then looking at the output of cc -S, I discovered that 4.2 bsd cc will
use the first six (6) register variables.  Is this documented anywhere on 
paper? It is not in man cc, as, or ld, and it is also not in any of the 
general stuff.

It *is* in /usr/src/lib/pcc/mac2defs, but it took me a very long time to 
figure that out, and I don't think one should have to dig through the
compiler source to find out what is legal in a language.

Please MAIL me any comments on what an idiot I am.

____________________________________________________________________________
Courtenay Footman			arpa:	cpf at lnsvax
Newman Lab. of Nuclear Studies		usenet:	cornell!lnsvax!cpf
Cornell University
-- 



More information about the Comp.lang.c mailing list