|
|
In article <47EDA13E.4777@xxxxxxxxxxxxxx>,
pete <pfiland@xxxxxxxxxxxxxx> wrote:
>CBFalconer wrote:
>> register is still a reserved word. All it is guaranteed
>> to do is prevent taking the address. Although it seems totally
>> ridiculous here.
>... I can't imagine that there ever might be
>a situation where I would want to prevent taking the address.
It becomes an optimization hint to a compiler: if there are
pointers in the code, the optimizer can know that none of them
point to the object declared as 'register', which fact might
allow it to use tighter code in some cases.
--
"Eightly percent of the people in the world are fools and the
rest of us are in danger of contamination." -- Walter Matthau
|
|