From 16a71c501a1fb3b3f97c6870a39fce2f67f5974b Mon Sep 17 00:00:00 2001 From: David Malcolm Date: Mon, 2 Feb 2015 15:21:16 +0000 Subject: [PATCH] PR jit/64810: support DImode on arm gcc/jit/ChangeLog: PR jit/64810 * dummy-frontend.c (jit_langhook_type_for_mode): Support TYPE_MODE (long_long_integer_type_node). From-SVN: r220347 --- gcc/jit/ChangeLog | 6 ++++++ gcc/jit/dummy-frontend.c | 3 +++ 2 files changed, 9 insertions(+) diff --git a/gcc/jit/ChangeLog b/gcc/jit/ChangeLog index a260ab083a2..ccbd25098e5 100644 --- a/gcc/jit/ChangeLog +++ b/gcc/jit/ChangeLog @@ -1,3 +1,9 @@ +2015-02-02 David Malcolm + + PR jit/64810 + * dummy-frontend.c (jit_langhook_type_for_mode): Support + TYPE_MODE (long_long_integer_type_node). + 2015-01-27 David Malcolm * docs/internals/test-hello-world.exe.log.txt: Add example version diff --git a/gcc/jit/dummy-frontend.c b/gcc/jit/dummy-frontend.c index 9f799d30267..8f7d06afabf 100644 --- 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; + if (COMPLEX_MODE_P (mode)) { if (mode == TYPE_MODE (complex_float_type_node)) -- 2.30.2