Do not spill variables/registers on the stack

Drasko DRASKOVIC drasko.draskovic@gmail.com
Wed Feb 2 22:10:00 GMT 2011


On Wed, Feb 2, 2011 at 11:04 PM, Ian Lance Taylor <iant@google.com> wrote:
> What you want is to disable all optimizations other than register
> allocation.  That does not sound like a particularly useful feature for
> gcc to provide, and in fact it does not provide it.  You could do it by
> changing gcc's source code.

Ian,
would that actually say that with -O0 you can say goodbye to
"register" keywords (gcc will start ignoring them for -O0, while for
other -Ox it will **not** ignore them) ?

BR,
Drasko



More information about the Gcc-help mailing list