Why does gcc generate const local array on stack?
Jonathan Wakely
jwakely.gcc@gmail.com
Thu Apr 21 09:39:00 GMT 2016
On 21 April 2016 at 03:41, lh_mouse wrote:
> See this example: http://coliru.stacked-crooked.com/a/048b4aa5046da11b
>
> In this example the function is called recursively.
See the original email you replied to:
"I understand if this function is recursive and pointer of the array
is involved, GCC would have to maintain the array on stack and hence
the initialization."
The question is about cases where that doesn't happen.
More information about the Gcc
mailing list