Re: question regarding stack size for SPARC

2006-04-19 Thread Eric Botcazou
> But with gcc version greater than 3.0, It allocates 104 bytes for the > stack of a new function. 112 actually on Solaris 7 and later. > Can anyone please let me know the reason of the difference of 8 bytes? Obscure internal hack. :-) /* Offset within stack frame to start allocating local vari

question regarding stack size for SPARC

2006-04-19 Thread Inder
Hi All While compiling code for SPARC Architecture, Its seems reasonable that when calling a new function, stack Size of 92 + 4(for alignment) is allocated. But with gcc version greater than 3.0, It allocates 104 bytes for the stack of a new function. Can anyone please let me know the reason of t