[net.lang.c] register variables on vaxen

gtaylor@lasspvax.UUCP (10/12/84)

References:
Sender: 
Reply-To: cpf@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@lnsvax
Newman Lab. of Nuclear Studies		usenet:	cornell!lnsvax!cpf
Cornell University
--