emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

feature/native-comp 38b4ac3: * Work around GCC PR99126 on all libgccjit


From: Andrea Corallo
Subject: feature/native-comp 38b4ac3: * Work around GCC PR99126 on all libgccjit < 11
Date: Sun, 7 Mar 2021 13:55:12 -0500 (EST)

branch: feature/native-comp
commit 38b4ac3e6b5ac7e88003e02b30bbe2bdb82e6e6a
Author: Andrea Corallo <akrl@sdf.org>
Commit: Andrea Corallo <akrl@sdf.org>

    * 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 2322ce0..bea9945 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]