[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 ad75aa20ec2c49c35681805d2edcc66eab2bf221..8c97086a31983a2bee28b22d585fcd4fb2c6c9ba 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 b12274ac25e8a8a2ff5802f4b05589259e958737..3ac071872b9f4b6e4385ff9ed89e169db79c8826 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.  */