From: Tim Peters Date: Thu, 28 Feb 2002 19:38:51 +0000 (+0000) Subject: PyGC_Head: Use "long double" instead of "double" as the worst-case X-Git-Tag: v2.3c1~6609 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5e67cded409218e4957c0921cd6b0dca7ba63317;p=thirdparty%2FPython%2Fcpython.git 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. --- diff --git a/Include/objimpl.h b/Include/objimpl.h index e8aad544c643..a616620d5d27 100644 --- 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;