[pypy-svn] r68297 - pypy/branch/gc-compress/pypy/translator/c/src

arigo at codespeak.net arigo at codespeak.net
Sat Oct 10 14:00:48 CEST 2009


Author: arigo
Date: Sat Oct 10 14:00:47 2009
New Revision: 68297

Modified:
   pypy/branch/gc-compress/pypy/translator/c/src/llgroup.h
Log:
Tentatively try to force gcc to do the right thing.


Modified: pypy/branch/gc-compress/pypy/translator/c/src/llgroup.h
==============================================================================
--- pypy/branch/gc-compress/pypy/translator/c/src/llgroup.h	(original)
+++ pypy/branch/gc-compress/pypy/translator/c/src/llgroup.h	Sat Oct 10 14:00:47 2009
@@ -9,7 +9,7 @@
   (((char*)groupptr) + ((long)compactoffset)*sizeof(long))
 
 #define _OP_GET_NEXT_GROUP_MEMBER(groupptr, compactoffset, skipoffset)  \
-  (((char*)groupptr) + ((long)compactoffset)*sizeof(long) + skipoffset)
+  ((((char*)groupptr) + skipoffset) + ((long)compactoffset)*sizeof(long))
 
 #define OP_IS_GROUP_MEMBER_NONZERO(compactoffset, r)  \
   r = (compactoffset != 0)



More information about the Pypy-commit mailing list