Register functions ?

Stew Rubenstein stew at harvard.ARPA
Sun Sep 30 07:53:38 AEST 1984

> 	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 at harvard

More information about the Comp.lang.c mailing list