On Nov 13, 2007 6:46 AM, Olson, Arthur David (NIH/NCI) [E] <
olsona@dc37a.nci.nih.gov> wrote:
> I was going to also remove all "register" delcarations, on the premise
that modern compilers do well without the hints...
My own use of "register" isn't to provide compilers with hints but
rather to avoid unintended calls by reference; everything starts out
life as a register variable, and the register only gets dropped if the
address of the variable needs to be taken.
Interesting usage - not a technique I'd come across before, but that most certainly does not make it invalid.