]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-38965: Fix faulthandler._stack_overflow() on GCC 10 (GH-17467)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 4 Dec 2019 20:29:22 +0000 (12:29 -0800)
committerGitHub <noreply@github.com>
Wed, 4 Dec 2019 20:29:22 +0000 (12:29 -0800)
commit5044c889dfced2f43e2cccb673d889a4882f6b3b
tree15403e2d63f740ed43c47d2fb2b389b5f8e2188c
parente0f148e6635480521036415bd782c3424fe6c619
bpo-38965: Fix faulthandler._stack_overflow() on GCC 10 (GH-17467)

Use the "volatile" keyword to prevent tail call optimization
on any compiler, rather than relying on compiler specific pragma.
(cherry picked from commit 8b787964e0a647caa0558b7c29ae501470d727d9)

Co-authored-by: Victor Stinner <vstinner@python.org>
Misc/NEWS.d/next/Tests/2019-12-04-17-08-55.bpo-38965.yqax3m.rst [new file with mode: 0644]
Modules/faulthandler.c