Re: expand_main_function/PREFERRED_STACK_BOUNDARY on ppc

2005-05-22 Thread Olivier Hainque
Richard Henderson wrote: > > A possible way to address that is to have expand_main_function compute the > > distance between the current and aligned values of the stack pointer and > > resort to allocate_dynamic_stack_space to allocate exactly that amount. > Sure, if it works. OK, I'll test my

Re: expand_main_function/PREFERRED_STACK_BOUNDARY on ppc

2005-05-18 Thread Richard Henderson
On Wed, May 18, 2005 at 02:46:33PM +0200, Olivier Hainque wrote: > A possible way to address that is to have expand_main_function compute the > distance between the current and aligned values of the stack pointer (without > touching it), and resort to allocate_dynamic_stack_space to allocate exactl

expand_main_function/PREFERRED_STACK_BOUNDARY on ppc

2005-05-18 Thread Olivier Hainque
Hello, As mentioned in a previous discussion at http://gcc.gnu.org/ml/gcc/2005-04/msg01416.html we have troubles with the expand_main_function code to adjust the stack pointer to PREFERRED_STACK_BOUNDARY on entry points. It currently aligns the stack pointer by applying explicit operations on