Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.1 6/24/83; site unisoft.UUCP
Path: utzoo!watmath!clyde!akgua!mcnc!decvax!ucbvax!ucbtopaz!unisoft!phil
From: phil@unisoft.UUCP
Newsgroups: net.unix-wizards
Subject: Re: In defense of C
Message-ID: <222@unisoft.UUCP>
Date: Mon, 5-Mar-84 16:39:21 EST
Article-I.D.: unisoft.222
Posted: Mon Mar  5 16:39:21 1984
Date-Received: Wed, 7-Mar-84 06:32:40 EST
References: <372@hocda.UUCP>
Organization: UniSoft Corp., Berkeley
Lines: 13

>> The comments concerning non-automatic reuse of automatic variables with
>> nonoverlapping domains reminded me that one can reuse register variables.
>> I don't know if this applies to non-register automatics and would be
>> interested in finding out.  One can create blocks, as in ALGOL, with curly
>> braces, in which registers are re-used, according to what I have seen in
>> PDP assembly translation of C .......

Well, I wouldn't count on it. Remember that register storage class is more
of an advisory, any C compiler is free to ignore it at any time. Some
C compilers will allocate ALL the auto storage class at once upon entering
the function. The VAX 4.1 BSD C compiler (as far as I can see) allocates
all the required auto storage class upon entry.