This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/13182] -fstack-check probes too distant when allocating on stack
- From: "ebotcazou at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 30 May 2017 10:18:09 +0000
- Subject: [Bug middle-end/13182] -fstack-check probes too distant when allocating on stack
- Auto-submitted: auto-generated
- References: <bug-13182-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=13182
--- Comment #10 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
> To be clear: x86/Linux and x86-64/Linux (and for them there is no protection
> area during the probing).
I misremembered: there is exactly one page of protection area for them because
of the way the unwinding mechanism (run on the alternate stack) restores the
regular execution of the program.