From baf16746960ad5f7baaf21b44feff9c8f3a4fc29 Mon Sep 17 00:00:00 2001 From: Andrea Corallo Date: Sat, 21 Sep 2019 11:36:48 +0200 Subject: [PATCH] better error signaling when compilation fails --- src/comp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/comp.c b/src/comp.c index e0c332c89e4..b25013d65ad 100644 --- a/src/comp.c +++ b/src/comp.c @@ -1299,7 +1299,7 @@ emit_limple_insn (Lisp_Object insn) else ice ("LIMPLE inconsistent arg1 for op ="); - ICE_IF (!res, "incoherent insn"); + ICE_IF (!res, gcc_jit_context_get_first_error (comp.ctxt)); gcc_jit_block_add_assignment (comp.block, NULL,