alloca within inline function

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

 



As wrote at the libc manual
   * A variable size array's space is freed at the end of the scope of
     the name of the array.  The space allocated with `alloca' remains
     until the end of the function.

What about inline function? Does space allocated with alloca withing inline
function is being freed at the end of the function, or at the "real" return?
Is it the same in "c" and "c++"?

Agri


[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