cpython: 7065135f9202 (original) (raw)
Mercurial > cpython
changeset 22091:7065135f9202 legacy-trunk
PyGC_Head: Use "long double" instead of "double" as the worst-case alignment gimmick. David Abrahams notes that the standard "long double" actually requires stricter alignment than "double" on some Tru64 box. On my box and yours , it's the same, so no harm done on most boxes.
Tim Peters tim.peters@gmail.com | |
---|---|
date | Thu, 28 Feb 2002 19:38:51 +0000 |
parents | 90d3ce3eb19c |
children | 7a3e03b541ff |
files | Include/objimpl.h |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-)[+] [-] Include/objimpl.h 2 |
line wrap: on
line diff
--- a/Include/objimpl.h +++ b/Include/objimpl.h @@ -272,7 +272,7 @@ typedef union _gc_head { union _gc_head gc_prev; int gc_refs; } gc; - double dummy; / force worst-case alignment / + long double dummy; / force worst-case alignment */ } PyGC_Head; extern PyGC_Head _PyGC_generation0;