[tz] bringing tzcode in the ANSI era
dominique.pelle at gmail.com
Fri Oct 26 15:49:53 UTC 2012
Ian Abbott wrote:
> On 26/10/12 12:10, Arthur David Olson wrote:
>> > ...can we please 's/register //g'? It is not adding any value...
>> Declaring something with "register" means it doesn't have an address and
>> that its value can't be changed by way of a pointer; the declaration can
>> be both a hint to the compiler and a mental aid for aging humans (such
>> as yours truly).
> Or possibly a hindrance to the compiler. Didn't 'register' go out of
> fashion back in the 90s?
Indeed. Compilers today are generally better than humans at deciding
what variables should be stored in registers. Modern compilers even
ignore the 'register' hint I think.
+1 for removing the 'register' keywords.
More information about the tz