(HOST_WIDE_INT): Copy definition from machmode.h.
authorTom Wood <wood@gnu.org>
Tue, 18 Aug 1992 19:44:21 +0000 (19:44 +0000)
committerTom Wood <wood@gnu.org>
Tue, 18 Aug 1992 19:44:21 +0000 (19:44 +0000)
From-SVN: r1887

gcc/cccp.c

index 3be41b8e8f2f48148a8fd73f7390115ef9a3c326..382e534408e138a229acb74c6cc7fa8d63a75db5 100644 (file)
@@ -125,6 +125,20 @@ typedef struct { unsigned :16, :16, :16; } vms_ino_t;
 #define MIN(X,Y) ((X) < (Y) ? (X) : (Y))
 #define MAX(X,Y) ((X) > (Y) ? (X) : (Y))
 
+/* Find the largest host integer type and set its size and type.  */
+
+#ifndef HOST_BITS_PER_WIDE_INT
+
+#if HOST_BITS_PER_LONG > HOST_BITS_PER_INT
+#define HOST_BITS_PER_WIDE_INT HOST_BITS_PER_LONG
+#define HOST_WIDE_INT long
+#else
+#define HOST_BITS_PER_WIDE_INT HOST_BITS_PER_INT
+#define HOST_WIDE_INT int
+#endif
+
+#endif
+
 #ifndef S_ISREG
 #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG)
 #endif