]> 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:30:31 +0000 (12:30 -0800)
committerGitHub <noreply@github.com>
Wed, 4 Dec 2019 20:30:31 +0000 (12:30 -0800)
commitf4a21d3b239bf4f4e4e2a8a5936b9b040645b246
treed798c82f1547be8f2c63317ce2681f4386ba5879
parent68669ef7883ea6338ca441e50f4f9d975f54d017
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