-
-
Notifications
You must be signed in to change notification settings - Fork 32.2k
bpo-38965: Fix faulthandler._stack_overflow() on GCC 10 #17467
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Use the "volatile" keyword to prevent tail call optimization on any compiler, rather than relying on compiler specific pragma.
Thanks @vstinner for the PR 🌮🎉.. I'm working now to backport this PR to: 3.7, 3.8. |
I'm having trouble backporting to |
GH-17468 is a backport of this pull request to the 3.7 branch. |
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 <[email protected]>
@marxin tested the fix for me with GCC 10 and confirmed that my change fix the issue: So I merged my change. |
Thanks @vstinner for the PR 🌮🎉.. I'm working now to backport this PR to: 3.8. |
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 <[email protected]>
GH-17469 is a backport of this pull request to the 3.8 branch. |
|
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 <[email protected]>
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 <[email protected]>
|
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 <[email protected]>
Use the "volatile" keyword to prevent tail call optimization on any compiler, rather than relying on compiler specific pragma.
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 <[email protected]> (cherry picked from commit 5044c88) Co-authored-by: Miss Islington (bot) <[email protected]>
…H-28079) 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 <[email protected]> (cherry picked from commit 5044c88) Co-authored-by: Miss Islington (bot) <[email protected]>
Use the "volatile" keyword to prevent tail call optimization
on any compiler, rather than relying on compiler specific pragma.
https://bugs.python.org/issue38965