PR jit/64810: support DImode on arm
authorDavid Malcolm <dmalcolm@redhat.com>
Mon, 2 Feb 2015 15:21:16 +0000 (15:21 +0000)
committerDavid Malcolm <dmalcolm@gcc.gnu.org>
Mon, 2 Feb 2015 15:21:16 +0000 (15:21 +0000)
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
gcc/jit/dummy-frontend.c

index a260ab083a2814e8b7d8167a2c1368f0dea03633..ccbd25098e5cba5d17ecda624cdec0fd7c4bd61e 100644 (file)
@@ -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
index 9f799d302677b0963673c0605b60f479b8636c3c..8f7d06afabf9691f05aff9eb1db9506cc985bc5b 100644 (file)
@@ -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))