On Wed, Feb 2, 2011 at 11:27 PM, Ian Lance Taylor <iant@xxxxxxxxxx> wrote: > As far as I know gcc does ignore the register keyword at optimization > levels about -O0 OK, thanks. That completes Jeffs statement from before, I guess... > except for register asm Stefan, I guess embedded asm would be your only solution... > and forbidding taking the > address of a variable marked as register. This one should be forbidden at all optimozetion level, as C standard forbids it (C++ does not, though). BR, Drasko