From: Andrea Corallo Date: Sun, 7 Mar 2021 18:48:04 +0000 (+0100) Subject: * Work around GCC PR99126 on all libgccjit < 11 X-Git-Tag: emacs-28.0.90~2727^2~90 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=38b4ac3e6b5ac7e88003e02b30bbe2bdb82e6e6a;p=emacs.git * Work around GCC PR99126 on all libgccjit < 11 * src/comp.c (Fcomp__compile_ctxt_to_file): Work around GCC PR99126 on all libgccjit < 11. --- 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