Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upbpo-38965: Fix faulthandler._stack_overflow() on GCC 10 #17467
Conversation
Use the "volatile" keyword to prevent tail call optimization on any compiler, rather than relying on compiler specific pragma.
This comment has been minimized.
This comment has been minimized.
miss-islington
commented
Dec 4, 2019
Thanks @vstinner for the PR |
This comment has been minimized.
This comment has been minimized.
miss-islington
commented
Dec 4, 2019
I'm having trouble backporting to |
This comment has been minimized.
This comment has been minimized.
bedevere-bot
commented
Dec 4, 2019
GH-17468 is a backport of this pull request to the 3.7 branch. |
This comment has been minimized.
This comment has been minimized.
@marxin tested the fix for me with GCC 10 and confirmed that my change fix the issue: So I merged my change. |
This comment has been minimized.
This comment has been minimized.
miss-islington
commented
Dec 4, 2019
Thanks @vstinner for the PR |
This comment has been minimized.
This comment has been minimized.
bedevere-bot
commented
Dec 4, 2019
GH-17469 is a backport of this pull request to the 3.8 branch. |
This comment has been minimized.
This comment has been minimized.
bedevere-bot
commented
Dec 4, 2019
|
This comment has been minimized.
This comment has been minimized.
bedevere-bot
commented
Dec 4, 2019
|
bpo-38965: Fix faulthandler._stack_overflow() on GCC 10 (pythonGH-17467)
Use the "volatile" keyword to prevent tail call optimization on any compiler, rather than relying on compiler specific pragma.
…nGH-17467) Use the "volatile" keyword to prevent tail call optimization on any compiler, rather than relying on compiler specific pragma. (cherry picked from commit 8b78796) Co-authored-by: Victor Stinner <vstinner@python.org>
vstinner commentedDec 4, 2019
•
edited by bedevere-bot
Use the "volatile" keyword to prevent tail call optimization
on any compiler, rather than relying on compiler specific pragma.
https://bugs.python.org/issue38965