This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PREFERRED_STACK_BOUNDARY/function calling code fix
> I am not sure, if the sanity checking will pass on machines
> with parm_space, since stack adjustments necesary for parm_space are made
> there and it is not completely clear to me how this does this work.
It looks ok... I guess we'll have to see what triggers.
> * calls.c (expand_call): Do sanity checking on arg_space_so_far.
> Update arg_space_so_far on stack adjustments.
> (emit_library_call, emit_library_call_value): Likewise; take into
> account arg_space_so_far and pending_stack_adjust when calculcating
> the boundary.
Ok.
r~