Module Name: src
Committed By: christos
Date: Mon Mar 5 00:17:09 UTC 2018
Modified Files:
src/external/gpl3/gcc/dist/gcc/config/rs6000: netbsd64.h
Log Message:
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.
To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 \
src/external/gpl3/gcc/dist/gcc/config/rs6000/netbsd64.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/external/gpl3/gcc/dist/gcc/config/rs6000/netbsd64.h
diff -u src/external/gpl3/gcc/dist/gcc/config/rs6000/netbsd64.h:1.16 src/external/gpl3/gcc/dist/gcc/config/rs6000/netbsd64.h:1.17
--- src/external/gpl3/gcc/dist/gcc/config/rs6000/netbsd64.h:1.16 Sun Mar 4 11:44:11 2018
+++ src/external/gpl3/gcc/dist/gcc/config/rs6000/netbsd64.h Sun Mar 4 19:17:09 2018
@@ -422,7 +422,7 @@ extern int dot_symbols;
#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 @@ extern int dot_symbols;
#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"