From: Ivan Maidanski Date: Wed, 7 Dec 2016 07:49:53 +0000 (+0300) Subject: Enable mprotect-based incremental GC for Win64 (GCC) X-Git-Tag: v8.0.0~1003 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b88b91895413255ec8e4fe46db7261c7978a6ed0;p=gc Enable mprotect-based incremental GC for Win64 (GCC) * include/private/gcconfig.h [X86_64 && MSWIN32 && __GNUC__] (MPROTECT_VDB): Define for GCC 4.7+ too; update comment. --- diff --git a/include/private/gcconfig.h b/include/private/gcconfig.h index 8b26ae27..1a469d54 100644 --- a/include/private/gcconfig.h +++ b/include/private/gcconfig.h @@ -2548,9 +2548,10 @@ # define OS_TYPE "MSWIN32" /* STACKBOTTOM and DATASTART are handled specially in */ /* os_dep.c. */ -# if !defined(__GNUC__) || defined(__INTEL_COMPILER) - /* GCC does not currently support SetUnhandledExceptionFilter */ - /* (does not generate SEH unwinding information) on x64. */ +# if !defined(__GNUC__) || defined(__INTEL_COMPILER) \ + || __GNUC__ >= 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 7) + /* Older GCC has not supported SetUnhandledExceptionFilter */ + /* properly on x64 (e.g. SEH unwinding information missed). */ # define MPROTECT_VDB # endif # define GWW_VDB