This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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 current setting is OK for the front-end SJLJ scheme used up
to now in Ada, it's not sufficient for the middle-end SJLJ scheme that we are
experimenting with; you need 8K on some platforms to pass the ACATS testsuite.

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? Or is there something Ada-specific that makes it require more stack? If it's not Ada-specific, the patch is ok if you also update the tm.texi documentation.


Bernd


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]