aboutsummaryrefslogtreecommitdiffstats
path: root/src/comp.c
diff options
context:
space:
mode:
authorAndrea Corallo2019-06-09 16:59:34 +0200
committerAndrea Corallo2020-01-01 11:33:40 +0100
commit96fc40d7dbdc77efa7b2e01f231bef9e19e96786 (patch)
tree50dc041456b328ad84ec02807318e9703c524a8d /src/comp.c
parentefd20b8c4bec0b6edfeb0c415719cb7b230496ba (diff)
downloademacs-96fc40d7dbdc77efa7b2e01f231bef9e19e96786.tar.gz
emacs-96fc40d7dbdc77efa7b2e01f231bef9e19e96786.zip
generate reproducer if needed
Diffstat (limited to 'src/comp.c')
-rw-r--r--src/comp.c3
1 files changed, 3 insertions, 0 deletions
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)
1457{ 1457{
1458 comp.ctxt = gcc_jit_context_acquire(); 1458 comp.ctxt = gcc_jit_context_acquire();
1459 1459
1460 if (COMP_DEBUG > 1)
1461 gcc_jit_context_dump_reproducer_to_file (comp.ctxt, "comp_reproducer.c");
1462
1460 comp.void_type = gcc_jit_context_get_type (comp.ctxt, GCC_JIT_TYPE_VOID); 1463 comp.void_type = gcc_jit_context_get_type (comp.ctxt, GCC_JIT_TYPE_VOID);
1461 comp.void_ptr_type = 1464 comp.void_ptr_type =
1462 gcc_jit_context_get_type (comp.ctxt, GCC_JIT_TYPE_VOID_PTR); 1465 gcc_jit_context_get_type (comp.ctxt, GCC_JIT_TYPE_VOID_PTR);