]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-38965: Fix faulthandler._stack_overflow() on GCC 10 (GH-17467) (GH-28079)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 31 Aug 2021 06:24:50 +0000 (23:24 -0700)
committerGitHub <noreply@github.com>
Tue, 31 Aug 2021 06:24:50 +0000 (02:24 -0400)
commit8934bb0c3179e4c020cd6f08dea64bccbf56ffa2
tree12b8f07b7a699016487c79422a5a73de88123731
parent29d97d17fb7adab3b0df9e178b73f70292d1cf64
bpo-38965: Fix faulthandler._stack_overflow() on GCC 10 (GH-17467) (GH-28079)

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>
(cherry picked from commit 5044c889dfced2f43e2cccb673d889a4882f6b3b)

Co-authored-by: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Misc/NEWS.d/next/Tests/2019-12-04-17-08-55.bpo-38965.yqax3m.rst [new file with mode: 0644]
Modules/faulthandler.c