Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 5e67cde

Browse files
committed
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 <wink>, it's the same, so no harm done on most boxes.
1 parent c948966 commit 5e67cde

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Include/objimpl.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@ typedef union _gc_head {
272272
union _gc_head *gc_prev;
273273
int gc_refs;
274274
} gc;
275-
double dummy; /* force worst-case alignment */
275+
long double dummy; /* force worst-case alignment */
276276
} PyGC_Head;
277277

278278
extern PyGC_Head _PyGC_generation0;

0 commit comments

Comments
 (0)