summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Korn <dave.korn.cygwin@gmail.com>2009-04-11 05:31:17 +0000
committerDave Korn <davek@gcc.gnu.org>2009-04-11 05:31:17 +0000
commit4d7221309b3d13258a824b27533563cd012a1b6f (patch)
tree1d384ebd4fa97adddcd24302ed3373d0e5ad7e8b
parent567a90f59cd53598b49d52fe079d025ec8752ca1 (diff)
downloadgcc-4d7221309b3d13258a824b27533563cd012a1b6f.tar.gz
cygwin-stdint.h (INT_LEAST32_TYPE): Update to match changes in Cygwin 1.7 (UINT_LEAST32_TYPE...
* config/i386/cygwin-stdint.h (INT_LEAST32_TYPE): Update to match changes in Cygwin 1.7 (UINT_LEAST32_TYPE, INT_FAST16_TYPE, INT_FAST32_TYPE, UINT_FAST16_TYPE, UINT_FAST32_TYPE): Likewise. From-SVN: r145949
-rw-r--r--gcc/ChangeLog7
-rw-r--r--gcc/config/i386/cygwin-stdint.h23
2 files changed, 24 insertions, 6 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 24e0f46f56f..228e54163c4 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,10 @@
+2009-04-11 Dave Korn <dave.korn.cygwin@gmail.com>
+
+ * config/i386/cygwin-stdint.h (INT_LEAST32_TYPE): Update to
+ match changes in Cygwin 1.7
+ (UINT_LEAST32_TYPE, INT_FAST16_TYPE, INT_FAST32_TYPE,
+ UINT_FAST16_TYPE, UINT_FAST32_TYPE): Likewise.
+
2009-04-10 Paolo Bonzini <bonzini@gnu.org>
PR tree-optimization/39701
diff --git a/gcc/config/i386/cygwin-stdint.h b/gcc/config/i386/cygwin-stdint.h
index 5f465a51f66..53fd7e22a9d 100644
--- a/gcc/config/i386/cygwin-stdint.h
+++ b/gcc/config/i386/cygwin-stdint.h
@@ -19,33 +19,44 @@ along with GCC; see the file COPYING3. If not see
#define SIG_ATOMIC_TYPE "int"
+/* Exact-width integer types */
+
#define INT8_TYPE "signed char"
#define INT16_TYPE "short int"
#define INT32_TYPE "int"
#define INT64_TYPE "long long int"
+
#define UINT8_TYPE "unsigned char"
#define UINT16_TYPE "short unsigned int"
#define UINT32_TYPE "unsigned int"
#define UINT64_TYPE "long long unsigned int"
+/* Minimum-width integer types */
+
#define INT_LEAST8_TYPE "signed char"
#define INT_LEAST16_TYPE "short int"
-#define INT_LEAST32_TYPE "long int"
+#define INT_LEAST32_TYPE "int"
#define INT_LEAST64_TYPE "long long int"
+
#define UINT_LEAST8_TYPE "unsigned char"
#define UINT_LEAST16_TYPE "short unsigned int"
-#define UINT_LEAST32_TYPE "long unsigned int"
+#define UINT_LEAST32_TYPE "unsigned int"
#define UINT_LEAST64_TYPE "long long unsigned int"
+/* Fastest minimum-width integer types */
+
#define INT_FAST8_TYPE "signed char"
-#define INT_FAST16_TYPE "long int"
-#define INT_FAST32_TYPE "long int"
+#define INT_FAST16_TYPE "int"
+#define INT_FAST32_TYPE "int"
#define INT_FAST64_TYPE "long long int"
+
#define UINT_FAST8_TYPE "unsigned char"
-#define UINT_FAST16_TYPE "long unsigned int"
-#define UINT_FAST32_TYPE "long unsigned int"
+#define UINT_FAST16_TYPE "unsigned int"
+#define UINT_FAST32_TYPE "unsigned int"
#define UINT_FAST64_TYPE "long long unsigned int"
+/* Integer types capable of holding object pointers */
+
#define INTPTR_TYPE "long int"
#define UINTPTR_TYPE "long unsigned int"