RE: Extra 8 bytes on stack in gcc 4.3 (64-bit)

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

 



Hi Bob,

> Now the stack is no longer 16-byte aligned.

Leaf functions do not need to maintain stack alignment.

> Furthermore, this stack alignment could have been accomplished by allocating only the 8 bytes needed for the local variable, sum.

Optimized code, or non-optimized?

If it is non-optimized (-O0, which is the default if not specified), non-optimized code may be non-optimal.

HTH,
--Eljay


[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