]> gcc.gnu.org Git - gcc.git/commitdiff
Define UDWtype for longlong.h inclusion in wide-int.cc
authorRamana Radhakrishnan <ramana.radhakrishnan@arm.com>
Thu, 8 May 2014 14:23:11 +0000 (14:23 +0000)
committerRamana Radhakrishnan <ramana@gcc.gnu.org>
Thu, 8 May 2014 14:23:11 +0000 (14:23 +0000)
2014-05-08  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>

* wide-int.cc (UTItype): Define.
  (UDWtype): Define for appropriate W_TYPE_SIZE.

From-SVN: r210215

gcc/ChangeLog
gcc/wide-int.cc

index 5b036768d66e0f533a51f8a487ade7c113b008df..e1a52fa3a2c470163d05bf57fc7704fa5ef8f5f0 100644 (file)
@@ -1,3 +1,8 @@
+2014-05-08  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
+
+       * wide-int.cc (UTItype): Define.
+       (UDWtype): Define for appropriate W_TYPE_SIZE.
+
 2014-05-08  Marc Glisse  <marc.glisse@inria.fr>
 
        PR tree-optimization/59100
index 69a15bcd148b3cf21c3b2d4e19cf9e1818f2aa1d..3552e031b7763e8a793eb785a065373e277b70b2 100644 (file)
@@ -34,6 +34,12 @@ typedef unsigned HOST_WIDE_INT UWtype;
 typedef unsigned int UQItype __attribute__ ((mode (QI)));
 typedef unsigned int USItype __attribute__ ((mode (SI)));
 typedef unsigned int UDItype __attribute__ ((mode (DI)));
+typedef unsigned int UTItype __attribute__ ((mode (TI)));
+#if W_TYPE_SIZE == 32
+# define UDWtype       UDItype
+#elif W_TYPE_SIZE == 64
+# define UDWtype       UTItype
+#endif
 #include "longlong.h"
 #endif
 
This page took 0.075576 seconds and 5 git commands to generate.