]> git.eshelyaron.com Git - emacs.git/commitdiff
generate reproducer if needed
authorAndrea Corallo <andrea_corallo@yahoo.it>
Sun, 9 Jun 2019 14:59:34 +0000 (16:59 +0200)
committerAndrea Corallo <akrl@sdf.org>
Wed, 1 Jan 2020 10:33:40 +0000 (11:33 +0100)
src/comp.c

index 12d952ca2a1fdf12e9ce9f13212d20860562f90c..63bf88870bde95018bd2cfd77775732ce9400167 100644 (file)
@@ -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);