Re: Do not spill variables/registers on the stack

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux