Re: [patch] Bump size of stack checking protection area

2015-09-15 Thread Eric Botcazou
> For avoidance of doubt, the patch is fine then. Thanks, installed with the tm.texi bits. -- Eric Botcazou

Re: [patch] Bump size of stack checking protection area

2015-09-15 Thread Bernd Schmidt
On 09/15/2015 09:50 AM, Eric Botcazou wrote: It's not Ada-specific in the sense that, if you want to raise an exception on a stack overflow in any language with the middle-end SJLJ scheme, the current setting is definitely not sufficient and you'll get a crash during unwinding. For avoidance o

Re: [patch] Bump size of stack checking protection area

2015-09-15 Thread Eric Botcazou
> So it looks like some targets are at least optionally still using sjlj > exceptions and would be affected by this change. AFAICT it only makes a > difference with -fstack-check and would be a bugfix even for those > targets - correct? Yes, for example the 32-bit Windows compiler still uses SJLJ

Re: [patch] Bump size of stack checking protection area

2015-09-14 Thread Bernd Schmidt
On 09/14/2015 10:23 AM, Eric Botcazou wrote: as documented, STACK_CHECK_PROTECT is supposed to be an "estimate of the amount of stack required to propagate an exception". It's (mainly) for Ada and it needs to distinguish the various EH schemes, which might have different needs. While the curre

[patch] Bump size of stack checking protection area

2015-09-14 Thread Eric Botcazou
Hi, as documented, STACK_CHECK_PROTECT is supposed to be an "estimate of the amount of stack required to propagate an exception". It's (mainly) for Ada and it needs to distinguish the various EH schemes, which might have different needs. While the current setting is OK for the front-end SJLJ