Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/3/84; site harvard.ARPA Path: utzoo!linus!philabs!cmcl2!seismo!harvard!stew From: stew@harvard.ARPA (Stew Rubenstein) Newsgroups: net.lang.c Subject: Re: Re: Register functions ? Message-ID: <51@harvard.ARPA> Date: Sat, 29-Sep-84 17:53:38 EDT Article-I.D.: harvard.51 Posted: Sat Sep 29 17:53:38 1984 Date-Received: Tue, 2-Oct-84 03:38:08 EDT References: <12118@sri-arpa.UUCP> <21@tikal.UUCP> Organization: Aiken Computation Laboratory, Harvard Lines: 15 > C would benefit from a new storage class, I hereby dub "private". > Private storage items, whether const or variable, would be not > exportable. It would be impermissable to take the address, declare > as external, or otherwise export a private item. One clear win > is the "private function", which in this case means VERY STATIC. > > teltone!warren Why can't the compiler figure this out for itself? Any local variable of which the address is never taken can be optimized in all the ways which were suggested, no? -- ----------------------- Stew Rubenstein UUCP: ihnp4!harvard!stew Harvard Chemistry ARPA: stew@harvard