summaryrefslogtreecommitdiff
path: root/src/comp.c
diff options
context:
space:
mode:
authorAndrea Corallo <akrl@sdf.org>2019-09-21 11:36:48 +0200
committerAndrea Corallo <akrl@sdf.org>2020-01-01 11:37:51 +0100
commitbaf16746960ad5f7baaf21b44feff9c8f3a4fc29 (patch)
treecf4ed042c82acb39dcb24ad29bf6f13d47ca4a4d /src/comp.c
parent2fb2862facf3eb70897a2e5ba342971ce696bc5d (diff)
downloademacs-baf16746960ad5f7baaf21b44feff9c8f3a4fc29.tar.gz
emacs-baf16746960ad5f7baaf21b44feff9c8f3a4fc29.tar.bz2
emacs-baf16746960ad5f7baaf21b44feff9c8f3a4fc29.zip
better error signaling when compilation fails
Diffstat (limited to 'src/comp.c')
-rw-r--r--src/comp.c2
1 files changed, 1 insertions, 1 deletions
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,