From: Chung-Ju Wu Date: Sun, 1 Apr 2018 08:29:40 +0000 (+0000) Subject: [NDS32] Change wchar type to unsinged int. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7f9833429c003af8af8b451a78a912f9080bef2c;p=gcc.git [NDS32] Change wchar type to unsinged int. gcc/ * config/nds32/nds32.h (WCHAR_TYPE, WCHAR_TYPE_SIZE): Use unsigned int type and 32-bit size. From-SVN: r258995 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index ad75aa20ec2..8c97086a319 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2018-04-01 Chung-Ju Wu + + * config/nds32/nds32.h (WCHAR_TYPE, WCHAR_TYPE_SIZE): Use unsigned int + type and 32-bit size. + 2018-04-01 Jakub Jelinek PR middle-end/85090 diff --git a/gcc/config/nds32/nds32.h b/gcc/config/nds32/nds32.h index b12274ac25e..3ac071872b9 100644 --- a/gcc/config/nds32/nds32.h +++ b/gcc/config/nds32/nds32.h @@ -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 /* Register Usage. */