* Work around GCC PR99126 on all libgccjit < 11
* src/comp.c (Fcomp__compile_ctxt_to_file): Work around GCC PR99126 on all libgccjit < 11.
This commit is contained in:
parent
948e6609b1
commit
38b4ac3e6b
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue