From: Pip Cet Date: Mon, 8 Mar 2021 20:49:59 +0000 (+0000) Subject: * Fix comp unit type decl in eln files to fix GC crash (bug#46256) X-Git-Tag: emacs-28.0.90~2727^2~83 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=380ba045c4;p=emacs.git * Fix comp unit type decl in eln files to fix GC crash (bug#46256) * src/comp.c (emit_ctxt_code): Allocate comp_unit as a Lisp_Object, not a pointer to pointer to Lisp_Object. --- diff --git a/src/comp.c b/src/comp.c index e1809785410..9b7be5cce71 100644 --- a/src/comp.c +++ b/src/comp.c @@ -2774,7 +2774,7 @@ emit_ctxt_code (void) comp.ctxt, NULL, GCC_JIT_GLOBAL_EXPORTED, - gcc_jit_type_get_pointer (comp.lisp_obj_ptr_type), + comp.lisp_obj_type, COMP_UNIT_SYM); declare_imported_data ();