From: Christian Heimes Date: Sun, 14 Oct 2012 12:36:09 +0000 (+0200) Subject: Update comment: SPARC requires proper alignment X-Git-Tag: v3.4.0a1~2256 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1f476504fe64b5ea066cdd027bded4c50b2f3d82;p=python Update comment: SPARC requires proper alignment --- diff --git a/Modules/_sha3/sha3module.c b/Modules/_sha3/sha3module.c index ac568b83f9..bde474f8f8 100644 --- a/Modules/_sha3/sha3module.c +++ b/Modules/_sha3/sha3module.c @@ -96,7 +96,8 @@ * *************************************************************************/ #ifdef __sparc - /* On SPARC with Solaris CC opt64 fails with 'invalid address alignment' */ + /* opt64 uses un-aligned memory access that causes a BUS error with msg + * 'invalid address alignment' on SPARC. */ #define KeccakOpt 32 #elif SIZEOF_VOID_P == 8 && defined(PY_UINT64_T) /* opt64 works only for 64bit platforms with unsigned int64 */