1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-11 14:01:43 -08:00

* 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.
This commit is contained in:
Pip Cet 2021-03-08 20:49:59 +00:00 committed by Andrea Corallo
parent 93f92cf1ba
commit 380ba045c4

View file

@ -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 ();