From: Andrea Corallo Date: Sun, 9 Jun 2019 14:59:34 +0000 (+0200) Subject: generate reproducer if needed X-Git-Tag: emacs-28.0.90~2727^2~1503 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=96fc40d7dbdc77efa7b2e01f231bef9e19e96786;p=emacs.git generate reproducer if needed --- diff --git a/src/comp.c b/src/comp.c index 12d952ca2a1..63bf88870bd 100644 --- a/src/comp.c +++ b/src/comp.c @@ -1457,6 +1457,9 @@ init_comp (void) { comp.ctxt = gcc_jit_context_acquire(); + if (COMP_DEBUG > 1) + gcc_jit_context_dump_reproducer_to_file (comp.ctxt, "comp_reproducer.c"); + comp.void_type = gcc_jit_context_get_type (comp.ctxt, GCC_JIT_TYPE_VOID); comp.void_ptr_type = gcc_jit_context_get_type (comp.ctxt, GCC_JIT_TYPE_VOID_PTR);