diff mbox

[4/6,DJGPP] config/i386/djgpp: Update definitions of signed types

Message ID 56631C8A.2060004@wippies.com
State New
Headers show

Commit Message

Andris Pavenis Dec. 5, 2015, 5:19 p.m. UTC
Included patch updates typedefs of integer types in config/i386/djgpp-stdint.h.
Patch is similar but not identical as attached to

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=41557

Andris

2015-12-05 Andris Pavenis <andris.pavenis@iki.fi>

* config/i386/djgpp-stdint.h: update typedefs for integer types

Comments

Jeff Law Dec. 10, 2015, 10:37 p.m. UTC | #1
On 12/05/2015 10:19 AM, Andris Pavenis wrote:
> Included patch updates typedefs of integer types in
> config/i386/djgpp-stdint.h.
> Patch is similar but not identical as attached to
>
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=41557
>
> Andris
>
> 2015-12-05 Andris Pavenis <andris.pavenis@iki.fi>
>
> * config/i386/djgpp-stdint.h: update typedefs for integer types
I'm going to trust these are right.  OK for the trunk.

jeff
diff mbox

Patch

From 3533f7a8ac0a16b17e27ab772cfdeae6309005a3 Mon Sep 17 00:00:00 2001
From: Andris Pavenis <andris.pavenis@iki.fi>
Date: Sat, 14 Nov 2015 14:20:14 +0200
Subject: [PATCH 4/6] [DJGPP] config/i386/djgpp: Update definitions of signed types

* config/i386/djgpp-stdint.h: update definitions of integer types
---
 gcc/config/i386/djgpp-stdint.h | 22 +++++++++++-----------
 1 file changed, 11 insertions(+), 11 deletions(-)

diff --git a/gcc/config/i386/djgpp-stdint.h b/gcc/config/i386/djgpp-stdint.h
index 84f2b50..36642e3 100644
--- a/gcc/config/i386/djgpp-stdint.h
+++ b/gcc/config/i386/djgpp-stdint.h
@@ -22,21 +22,21 @@  along with GCC; see the file COPYING3.  If not see
 /* Exact-width integer types */
 
 #define INT8_TYPE "signed char"
-#define INT16_TYPE "signed short int"
-#define INT32_TYPE "signed long int"
-#define INT64_TYPE "signed long long int"
+#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 "long 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 "signed short int"
-#define INT_LEAST32_TYPE "signed int"
-#define INT_LEAST64_TYPE "signed long long int"
+#define INT_LEAST16_TYPE "short 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"
@@ -46,12 +46,12 @@  along with GCC; see the file COPYING3.  If not see
 /* Fastest minimum-width integer types */
 
 #define INT_FAST8_TYPE "signed char"
-#define INT_FAST16_TYPE "signed int"
-#define INT_FAST32_TYPE "signed int"
-#define INT_FAST64_TYPE "long long signed int"
+#define INT_FAST16_TYPE "short int"
+#define INT_FAST32_TYPE "int"
+#define INT_FAST64_TYPE "long long int"
 
 #define UINT_FAST8_TYPE "unsigned char"
-#define UINT_FAST16_TYPE "unsigned int"
+#define UINT_FAST16_TYPE "short unsigned int"
 #define UINT_FAST32_TYPE "unsigned int"
 #define UINT_FAST64_TYPE "long long unsigned int"
 
-- 
2.4.3