From 38b4ac3e6b5ac7e88003e02b30bbe2bdb82e6e6a Mon Sep 17 00:00:00 2001 From: Andrea Corallo Date: Sun, 7 Mar 2021 19:48:04 +0100 Subject: [PATCH] * Work around GCC PR99126 on all libgccjit < 11 * src/comp.c (Fcomp__compile_ctxt_to_file): Work around GCC PR99126 on all libgccjit < 11. --- src/comp.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/comp.c b/src/comp.c index 2322ce001b9..bea9945bbfe 100644 --- a/src/comp.c +++ b/src/comp.c @@ -4459,7 +4459,8 @@ DEFUN ("comp--compile-ctxt-to-file", Fcomp__compile_ctxt_to_file, && (defined (LIBGCCJIT_HAVE_gcc_jit_context_add_command_line_option) \ || defined (WINDOWSNT)) Lisp_Object version = Fcomp_libgccjit_version (); - if (!NILP (version) && XFIXNUM (XCAR (version)) == 10) + if (NILP (version) + || XFIXNUM (XCAR (version)) < 11) gcc_jit_context_add_command_line_option (comp.ctxt, "-fdisable-tree-isolate-paths"); #endif -- 2.39.5