diff options
| author | Andrea Corallo | 2021-03-07 19:48:04 +0100 |
|---|---|---|
| committer | Andrea Corallo | 2021-03-07 19:49:18 +0100 |
| commit | 38b4ac3e6b5ac7e88003e02b30bbe2bdb82e6e6a (patch) | |
| tree | cd2feb9647386e78434602d3a0ff407e7eaf8d64 /src | |
| parent | 948e6609b11b0203d6e1d0fdfdcc23b8538f3e98 (diff) | |
| download | emacs-38b4ac3e6b5ac7e88003e02b30bbe2bdb82e6e6a.tar.gz emacs-38b4ac3e6b5ac7e88003e02b30bbe2bdb82e6e6a.zip | |
* Work around GCC PR99126 on all libgccjit < 11
* src/comp.c (Fcomp__compile_ctxt_to_file): Work around GCC
PR99126 on all libgccjit < 11.
Diffstat (limited to 'src')
| -rw-r--r-- | src/comp.c | 3 |
1 files changed, 2 insertions, 1 deletions
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, | |||
| 4459 | && (defined (LIBGCCJIT_HAVE_gcc_jit_context_add_command_line_option) \ | 4459 | && (defined (LIBGCCJIT_HAVE_gcc_jit_context_add_command_line_option) \ |
| 4460 | || defined (WINDOWSNT)) | 4460 | || defined (WINDOWSNT)) |
| 4461 | Lisp_Object version = Fcomp_libgccjit_version (); | 4461 | Lisp_Object version = Fcomp_libgccjit_version (); |
| 4462 | if (!NILP (version) && XFIXNUM (XCAR (version)) == 10) | 4462 | if (NILP (version) |
| 4463 | || XFIXNUM (XCAR (version)) < 11) | ||
| 4463 | gcc_jit_context_add_command_line_option (comp.ctxt, | 4464 | gcc_jit_context_add_command_line_option (comp.ctxt, |
| 4464 | "-fdisable-tree-isolate-paths"); | 4465 | "-fdisable-tree-isolate-paths"); |
| 4465 | #endif | 4466 | #endif |