aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Malcolm <dmalcolm@redhat.com>2015-02-02 15:21:16 +0000
committerDavid Malcolm <dmalcolm@gcc.gnu.org>2015-02-02 15:21:16 +0000
commit16a71c501a1fb3b3f97c6870a39fce2f67f5974b (patch)
tree7009922b34d55ec8f2924d906efb0169b1704b16
parent7dd1f7ace308f5452d97b09e4a42db84c4eb6999 (diff)
downloadgcc-16a71c501a1fb3b3f97c6870a39fce2f67f5974b.zip
gcc-16a71c501a1fb3b3f97c6870a39fce2f67f5974b.tar.gz
gcc-16a71c501a1fb3b3f97c6870a39fce2f67f5974b.tar.bz2
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
-rw-r--r--gcc/jit/ChangeLog6
-rw-r--r--gcc/jit/dummy-frontend.c3
2 files changed, 9 insertions, 0 deletions
diff --git a/gcc/jit/ChangeLog b/gcc/jit/ChangeLog
index a260ab0..ccbd250 100644
--- a/gcc/jit/ChangeLog
+++ b/gcc/jit/ChangeLog
@@ -1,3 +1,9 @@
+2015-02-02 David Malcolm <dmalcolm@redhat.com>
+
+ PR jit/64810
+ * dummy-frontend.c (jit_langhook_type_for_mode): Support
+ TYPE_MODE (long_long_integer_type_node).
+
2015-01-27 David Malcolm <dmalcolm@redhat.com>
* 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 9f799d3..8f7d06a 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))