commit | ab772274700baf17e708e8c8d82c78efbaa038cd | [log] [tgz] |
---|---|---|
author | Neal Norwitz <nnorwitz@gmail.com> | Sat Oct 28 21:21:00 2006 +0000 |
committer | Neal Norwitz <nnorwitz@gmail.com> | Sat Oct 28 21:21:00 2006 +0000 |
tree | b7f8ac3a8b8e89753859287517128eb3f0bfc5b7 | |
parent | e7e4e2dfabe981f3ebb9a22d270c7dac6650ac9c [diff] |
Don't inline Py_ADDRESS_IN_RANGE with gcc 4+ either. Will backport.
diff --git a/Objects/obmalloc.c b/Objects/obmalloc.c index 0ca8f2b..840570e 100644 --- a/Objects/obmalloc.c +++ b/Objects/obmalloc.c
@@ -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