[NDS32] Change wchar type to unsinged int.
authorChung-Ju Wu <jasonwucj@gmail.com>
Sun, 1 Apr 2018 08:29:40 +0000 (08:29 +0000)
committerChung-Ju Wu <jasonwucj@gcc.gnu.org>
Sun, 1 Apr 2018 08:29:40 +0000 (08:29 +0000)
gcc/
* config/nds32/nds32.h (WCHAR_TYPE, WCHAR_TYPE_SIZE): Use unsigned int
type and 32-bit size.

From-SVN: r258995

gcc/ChangeLog
gcc/config/nds32/nds32.h

index ad75aa2..8c97086 100644 (file)
@@ -1,3 +1,8 @@
+2018-04-01  Chung-Ju Wu  <jasonwucj@gmail.com>
+
+       * config/nds32/nds32.h (WCHAR_TYPE, WCHAR_TYPE_SIZE): Use unsigned int
+       type and 32-bit size.
+
 2018-04-01  Jakub Jelinek  <jakub@redhat.com>
 
        PR middle-end/85090
index b12274a..3ac0718 100644 (file)
@@ -516,8 +516,8 @@ enum nds32_builtins
 
 #define SIZE_TYPE "long unsigned int"
 #define PTRDIFF_TYPE "long int"
-#define WCHAR_TYPE "short unsigned int"
-#define WCHAR_TYPE_SIZE 16
+#define WCHAR_TYPE "unsigned int"
+#define WCHAR_TYPE_SIZE 32
 
 \f
 /* Register Usage.  */