summaryrefslogtreecommitdiff
path: root/gcc/wide-int.cc
diff options
context:
space:
mode:
authorramana <ramana@138bc75d-0d04-0410-961f-82ee72b054a4>2014-05-08 14:23:11 +0000
committerramana <ramana@138bc75d-0d04-0410-961f-82ee72b054a4>2014-05-08 14:23:11 +0000
commit75a9ca846a11101441e06937045910433b4c0808 (patch)
tree1ba61bfc3092ace4af76f77ec96c266fe55d2c1a /gcc/wide-int.cc
parentb6814ca0f83761d148c06b41d8fa11992bb347e1 (diff)
downloadlinaro-gcc-75a9ca846a11101441e06937045910433b4c0808.tar.gz
linaro-gcc-75a9ca846a11101441e06937045910433b4c0808.tar.bz2
linaro-gcc-75a9ca846a11101441e06937045910433b4c0808.zip
Define UDWtype for longlong.h inclusion in wide-int.cc
2014-05-08 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> * wide-int.cc (UTItype): Define. (UDWtype): Define for appropriate W_TYPE_SIZE. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@210215 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/wide-int.cc')
-rw-r--r--gcc/wide-int.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/wide-int.cc b/gcc/wide-int.cc
index 69a15bcd148..3552e031b77 100644
--- a/gcc/wide-int.cc
+++ b/gcc/wide-int.cc
@@ -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