Re: [patch] Update SJLJ buffer after dynamic stack allocation

2015-05-14 Thread Jeff Law
On 05/13/2015 04:45 AM, Eric Botcazou wrote: Hi, the SJLJ EH schemes manipulate a buffer that contains a few pointers and, in particular, the stack pointer. Therefore, when dynamic stack allocation is also used, you need to update its value in the buffer, otherwise Bad Things will happen if you

[patch] Update SJLJ buffer after dynamic stack allocation

2015-05-13 Thread Eric Botcazou
Hi, the SJLJ EH schemes manipulate a buffer that contains a few pointers and, in particular, the stack pointer. Therefore, when dynamic stack allocation is also used, you need to update its value in the buffer, otherwise Bad Things will happen if you resume execution where the stack is shifted