https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64810

--- Comment #17 from David Malcolm <dmalcolm at gcc dot gnu.org> ---
(In reply to David Malcolm from comment #15)
[...snip..]
> I still see another failure in:
> FAIL: test-expressions.c.exe killed: 12479 exp8 0 0 CHILDKILLED SIGSEGV
> {segmentation violation}
> which appears to be (yet) another issue.

This turned out to be due to not handling DImode on arm in
jit_langhook_type_for_mode, can be fixed with:

--- a/gcc/jit/dummy-frontend.c
+++ b/gcc/jit/dummy-frontend.c
@@ -167,6 +167,9 @@ jit_langhook_type_for_mode (enum machine_mode mode, int
unsignedp)
   if (mode == TYPE_MODE (long_integer_type_node))
     return unsignedp ? long_unsigned_type_node : long_integer_type_node;

+  if (mode == TYPE_MODE (long_long_integer_type_node))
+    return unsignedp ? long_long_unsigned_type_node :
long_long_integer_type_node;
+

Reply via email to