Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 8/23/84; site ucbcad.UUCP Path: utzoo!linus!decvax!ucbvax!ucbcad!faustus From: faustus@ucbcad.UUCP (Wayne A. Christopher) Newsgroups: net.lang.c Subject: Re: Re: register variables Message-ID: <38@ucbcad.UUCP> Date: Sat, 22-Jun-85 05:43:30 EDT Article-I.D.: ucbcad.38 Posted: Sat Jun 22 05:43:30 1985 Date-Received: Mon, 24-Jun-85 07:31:50 EDT References: <472@crystal.UUCP> <365@umcp-cs.UUCP> Distribution: net Organization: UC Berkeley CAD Group, Berkeley, CA Lines: 9 Speaking of register variables -- does anybody know what various C compilers do when you don't declare variables as register, but there are spare registers to use? From what I hear, neither ccom nor c2 are smart enough to put local variables in registers when they are available. It seems that it would be simple to just take the first few, or even the most heavily used local variables that don't ever get &'d and make them register... Wayne