Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: utzoo!mnetor!seismo!cmcl2!yale!husc6!panda!genrad!decvax!tektronix!uw-beaver!cornell!batcomputer!braner
From: braner@batcomputer.tn.cornell.edu (braner)
Newsgroups: comp.lang.c
Subject: Re: 'register' type (was: bit-field pointers / arrays)
Message-ID: <1923@batcomputer.tn.cornell.edu>
Date: Tue, 30-Dec-86 11:30:55 EST
Article-I.D.: batcompu.1923
Posted: Tue Dec 30 11:30:55 1986
Date-Received: Wed, 31-Dec-86 04:07:29 EST
References: <2937@bu-cs.BU.EDU> <321@bms-at.UUCP> <3811@utcsri.UUCP> <1223@dataio.Data-IO.COM>
Reply-To: braner@batcomputer.UUCP (braner)
Organization: Theory Center, Cornell University, Ithaca NY
Lines: 17
Summary: Keep it, please!

[]

The C programmer is currently free to avoid declaring variables 'register',
in the hope that the compiler is smart enough to do it optimally.  Also, if
'register' IS used (with reason), it should not hamper the smart compiler.

On the other hand, lots of present and future compilers are NOT that smart.
Also, there will always be SOME cases where a tricky algorithm eludes the
compiler's smarts.

The 'register' tool can be VERY valuable, and is one of endearing features
of C.  Don't dump it!

- Moshe Braner

PS:  Wish: May all compilers allow register unions!
           (for small objects, of course...)