We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eb7ae53 commit bc89cdeCopy full SHA for bc89cde
py/gc.c
@@ -345,7 +345,7 @@ void gc_collect_start(void) {
345
// Address sanitizer needs to know that the access to ptrs[i] must always be
346
// considered OK, even if it's a load from an address that would normally be
347
// prohibited (due to being undefined, in a red zone, etc).
348
-#ifdef __GNUC__
+#if defined(__GNUC__) && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 8))
349
__attribute__((no_sanitize_address))
350
#endif
351
static void *gc_get_ptr(void **ptrs, int i) {
0 commit comments