]> git.eshelyaron.com Git - emacs.git/commitdiff
better error signaling when compilation fails
authorAndrea Corallo <akrl@sdf.org>
Sat, 21 Sep 2019 09:36:48 +0000 (11:36 +0200)
committerAndrea Corallo <akrl@sdf.org>
Wed, 1 Jan 2020 10:37:51 +0000 (11:37 +0100)
src/comp.c

index e0c332c89e4af25b6d98ca97ec460bb791546088..b25013d65ad8e3ce1bd826d54044b8140953ce09 100644 (file)
@@ -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,