Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
c39d1ddc
Commit
c39d1ddc
authored
Oct 11, 2019
by
Dong-hee Na
Committed by
Inada Naoki
Oct 11, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix strict-aliasing rules errors on gcc 4.8.5. (GH-16714)
parent
a8e0d314
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
Objects/dictobject.c
Objects/dictobject.c
+1
-1
No files found.
Objects/dictobject.c
View file @
c39d1ddc
...
...
@@ -1133,7 +1133,7 @@ insert_to_emptydict(PyDictObject *mp, PyObject *key, Py_hash_t hash,
MAINTAIN_TRACKING
(
mp
,
key
,
value
);
size_t
hashpos
=
(
size_t
)
hash
&
(
PyDict_MINSIZE
-
1
);
PyDictKeyEntry
*
ep
=
&
DK_ENTRIES
(
mp
->
ma_keys
)[
0
]
;
PyDictKeyEntry
*
ep
=
DK_ENTRIES
(
mp
->
ma_keys
)
;
dictkeys_set_index
(
mp
->
ma_keys
,
hashpos
,
0
);
ep
->
me_key
=
key
;
ep
->
me_hash
=
hash
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment