[Python-checkins] r52512 - python/branches/release25-maint/Objects/obmalloc.c
neal.norwitz
python-checkins at python.org
Sat Oct 28 23:39:31 CEST 2006
Author: neal.norwitz
Date: Sat Oct 28 23:39:31 2006
New Revision: 52512
Modified:
python/branches/release25-maint/Objects/obmalloc.c
Log:
Backport 52506:
Don't inline Py_ADDRESS_IN_RANGE with gcc 4+ either.
Modified: python/branches/release25-maint/Objects/obmalloc.c
==============================================================================
--- python/branches/release25-maint/Objects/obmalloc.c (original)
+++ python/branches/release25-maint/Objects/obmalloc.c Sat Oct 28 23:39:31 2006
@@ -691,7 +691,8 @@
#undef Py_ADDRESS_IN_RANGE
-#if defined(__GNUC__) && (__GNUC__ == 3) && (__GNUC_MINOR__ >= 1)
+#if defined(__GNUC__) && ((__GNUC__ == 3) && (__GNUC_MINOR__ >= 1) || \
+ (__GNUC__ >= 4))
#define Py_NO_INLINE __attribute__((__noinline__))
#else
#define Py_NO_INLINE
More information about the Python-checkins
mailing list