This is the mail archive of the gcc-bugs@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]

[Bug middle-end/13182] -fstack-check probes too distant when allocating on stack


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=13182

Eric Botcazou <ebotcazou at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |ebotcazou at gcc dot gnu.org
         Resolution|---                         |WORKSFORME

--- Comment #6 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
That's as expected: the probing mechanism maintains a protection area so the
program can recover from a stack overflow condition by raising an exception.
That's why it always probes a few pages ahead but, once the first few pages are
skipped at the entry point, every subsequent page is probed.

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