bpo-38425: Remove ‘res’ may be used uninitialized warning#16688
Merged
vstinner merged 3 commits intopython:masterfrom Oct 10, 2019
Merged
bpo-38425: Remove ‘res’ may be used uninitialized warning#16688vstinner merged 3 commits intopython:masterfrom
vstinner merged 3 commits intopython:masterfrom
Conversation
Member
Author
|
@vstinner |
vstinner
reviewed
Oct 10, 2019
Misc/NEWS.d/next/Core and Builtins/2019-10-10-14-04-26.bpo-38425.xB59iJ.rst
Outdated
Show resolved
Hide resolved
Member
Author
|
@vstinner |
Member
This issue is specific to old versions of GCC, not to RHEL/Centos.
I think that GCC 4.8.5 is stupid and that GCC 9.2.1 on Fedora 30 is smarter: it doesn't emit this false alarm :-) I'm fine with backporting the change to 3.7 and 3.8. |
Contributor
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this pull request
Oct 10, 2019
(cherry picked from commit a05fcd3) Co-authored-by: Dong-hee Na <donghee.na92@gmail.com>
|
GH-16693 is a backport of this pull request to the 3.8 branch. |
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this pull request
Oct 10, 2019
(cherry picked from commit a05fcd3) Co-authored-by: Dong-hee Na <donghee.na92@gmail.com>
|
GH-16694 is a backport of this pull request to the 3.7 branch. |
miss-islington
added a commit
that referenced
this pull request
Oct 10, 2019
miss-islington
added a commit
that referenced
this pull request
Oct 10, 2019
jacobneiltaylor
pushed a commit
to jacobneiltaylor/cpython
that referenced
this pull request
Dec 5, 2019
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
I' ve noticed this warning on this environment.
CentOS Linux release 7.6.1810
gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-36)
https://bugs.python.org/issue38425