]> git.eshelyaron.com Git - emacs.git/commitdiff
* Work around GCC PR99126 on all libgccjit < 11
authorAndrea Corallo <akrl@sdf.org>
Sun, 7 Mar 2021 18:48:04 +0000 (19:48 +0100)
committerAndrea Corallo <akrl@sdf.org>
Sun, 7 Mar 2021 18:49:18 +0000 (19:49 +0100)
* src/comp.c (Fcomp__compile_ctxt_to_file): Work around GCC
PR99126 on all libgccjit < 11.

src/comp.c

index 2322ce001b9f8e4381984e79ff115cf836e75d4d..bea9945bbfef88dc41a0cc470311e36944d716ae 100644 (file)
@@ -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