Backport 52506:

Don't inline Py_ADDRESS_IN_RANGE with gcc 4+ either.
This commit is contained in:
Neal Norwitz 2006-10-28 21:39:31 +00:00
parent e0cf624747
commit ca63121553
1 changed files with 2 additions and 1 deletions

View File

@ -691,7 +691,8 @@ extremely desirable that it be this fast.
#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