Re: [IA-64] Fix dynamic allocation in leaf functions

2012-12-04 Thread Steve Ellcey
On Mon, 2012-12-03 at 13:16 +0100, Eric Botcazou wrote: > > 2012-11-19 Eric Botcazou > > > > * config/ia64/ia64.c (ia64_compute_frame_size): Allocate the scratch > > area if the function allocates dynamic stack space. > > (ia64_initial_elimination_offset): Adjust offsets to above ch

Re: [IA-64] Fix dynamic allocation in leaf functions

2012-12-03 Thread Richard Henderson
On 2012-11-19 16:12, Eric Botcazou wrote: > 2012-11-19 Eric Botcazou > > * config/ia64/ia64.c (ia64_compute_frame_size): Allocate the scratch > area if the function allocates dynamic stack space. > (ia64_initial_elimination_offset): Adjust offsets to above change. Ok for any

Re: [IA-64] Fix dynamic allocation in leaf functions

2012-12-03 Thread Eric Botcazou
> 2012-11-19 Eric Botcazou > > * config/ia64/ia64.c (ia64_compute_frame_size): Allocate the scratch > area if the function allocates dynamic stack space. > (ia64_initial_elimination_offset): Adjust offsets to above change. Ping: http://gcc.gnu.org/ml/gcc-patches/2012-11/msg01

[IA-64] Fix dynamic allocation in leaf functions

2012-11-19 Thread Eric Botcazou
Hi, the IA-64 has a red zone of 16 bytes at the bottom of the stack: /* IA64 has a 16 byte scratch area that is at the bottom of the stack. */ #define STACK_POINTER_OFFSET 16 but doesn't maintain it for leaf functions: /* We always use the 16-byte scratch area provided by the caller, but