Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/gpl3/gcc/dist/gcc/config/rs6000 Make the *int64 lon...
details: https://anonhg.NetBSD.org/src/rev/9d9444bc3736
branches: trunk
changeset: 320917:9d9444bc3736
user: christos <christos%NetBSD.org@localhost>
date: Mon Mar 05 00:17:09 2018 +0000
description:
Make the *int64 long long (32 bit) or long (64) bit. Now all those special
redefinitions could go away since this is the default behavior.
diffstat:
external/gpl3/gcc/dist/gcc/config/rs6000/netbsd64.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (21 lines):
diff -r b9d6f033f93b -r 9d9444bc3736 external/gpl3/gcc/dist/gcc/config/rs6000/netbsd64.h
--- a/external/gpl3/gcc/dist/gcc/config/rs6000/netbsd64.h Mon Mar 05 00:06:24 2018 +0000
+++ b/external/gpl3/gcc/dist/gcc/config/rs6000/netbsd64.h Mon Mar 05 00:17:09 2018 +0000
@@ -422,7 +422,7 @@
#define INT32_TYPE "int"
#undef INT64_TYPE
-#define INT64_TYPE "long int"
+#define INT64_TYPE (LONG_TYPE_SIZE == 64 ? "long int" : "long long int")
#undef UINT8_TYPE
#define UINT8_TYPE "unsigned char"
@@ -434,7 +434,7 @@
#define UINT32_TYPE "unsigned int"
#undef UINT64_TYPE
-#define UINT64_TYPE "long unsigned int"
+#define UINT64_TYPE (LONG_TYPE_SIZE == 64 ? "long unsigned int" : "long long unsigned int")
#undef INT_FAST8_TYPE
#define INT_FAST8_TYPE "int"
Home |
Main Index |
Thread Index |
Old Index