diff options
author | Gregory P. Smith <greg@krypto.org> | 2019-05-25 10:05:01 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-25 10:05:01 -0700 |
commit | 2156fec1f7a8f9972e90cdbaf404e3fd9eaccb35 (patch) | |
tree | 8625ebbbc854647b6783b123be2414c1365b7b2c /Include | |
parent | ea2b76bdc5f97f49701213d105b8ec2387ea2fa5 (diff) | |
download | cpython-git-2156fec1f7a8f9972e90cdbaf404e3fd9eaccb35.tar.gz |
[3.7] Revert "align PyGC_Head to alignof(long double) (GH-13335)" (GH-13569)
This reverts commit ea2b76bdc5f97f49701213d105b8ec2387ea2fa5.
See the bug for discussion.
https://bugs.python.org/issue27987
Diffstat (limited to 'Include')
-rw-r--r-- | Include/objimpl.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/Include/objimpl.h b/Include/objimpl.h index 0436ba7899..057bb50cbd 100644 --- a/Include/objimpl.h +++ b/Include/objimpl.h @@ -255,11 +255,7 @@ typedef union _gc_head { union _gc_head *gc_prev; Py_ssize_t gc_refs; } gc; - long double dummy; /* force worst-case alignment */ - // malloc returns memory block aligned for any built-in types and - // long double is the largest standard C type. - // On amd64 linux, long double requires 16 byte alignment. - // See bpo-27987 for more discussion. + double dummy; /* force worst-case alignment */ } PyGC_Head; extern PyGC_Head *_PyGC_generation0; |