On Wed, Feb 2, 2011 at 7:08 PM, Jeff Law <law@xxxxxxxxxx> wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On 02/02/11 10:34, Philip Herron wrote: > >> >> I am not quite sure what you are asking/trying to do but the register >> keyword is used to tell the compiler keep this variable inside any >> available registers which is useful if your going to use it alot in a >> piece of code i would imagine it could speed up things alot. > GCC ignores the "register" keyword. 1) Why would it ignore it ? 2) When does it ignore it ? When -O0 ? In some other cases ? 3) Is there some way to force "register" keyword not to be ignored with -O0 ? BR, Drasko