From what I have read, I know that the register keyword is almost always optimised by the modern compilers. Some sources claim that it shouldn't be used anymore, as the compiler will optimise the code better than the programmer in most cases.
Therefore I have these three questions:
- Is tat keyword still being used in some applications?
- How does GCC handle
registerkeyword? - If it has effect on the performance of my code, how can I investigate the use of
register? (Can I see where it theregistervariable stored? Can I force the compiler the interpret the keyword the way I want declared the variable, without any optimisations?)