diff options
author | YamaArashi <shadow962@live.com> | 2016-03-05 17:30:22 -0800 |
---|---|---|
committer | YamaArashi <shadow962@live.com> | 2016-03-05 17:30:22 -0800 |
commit | 1f01ff809a107816317c4ac8a7eff1cbd3700370 (patch) | |
tree | 94d195909900f0f3ac91663a431de060e41c7abb /gcc/rtl.c | |
parent | 7d46fa8f8f179c38d1ac777e72a381a46a3c5969 (diff) |
make host wide int 32 bits
Diffstat (limited to 'gcc/rtl.c')
-rwxr-xr-x | gcc/rtl.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -118,11 +118,11 @@ unsigned char mode_wider_mode[(int) MAX_MACHINE_MODE] = { #undef DEF_MACHMODE #define DEF_MACHMODE(SYM, NAME, CLASS, SIZE, UNIT, WIDER) \ - ((SIZE) * BITS_PER_UNIT >= HOST_BITS_PER_WIDE_INT) ? ~(unsigned HOST_WIDE_INT)0 : ((unsigned HOST_WIDE_INT) 1 << (SIZE) * BITS_PER_UNIT) - 1, + ((SIZE) * BITS_PER_UNIT >= HOST_BITS_PER_WIDE_INT) ? ~(HOST_WIDE_UINT)0 : ((HOST_WIDE_UINT) 1 << (SIZE) * BITS_PER_UNIT) - 1, /* Indexed by machine mode, gives mask of significant bits in mode. */ -unsigned HOST_WIDE_INT mode_mask_array[(int) MAX_MACHINE_MODE] = { +HOST_WIDE_UINT mode_mask_array[(int) MAX_MACHINE_MODE] = { #include "machmode.def" }; @@ -602,7 +602,7 @@ atoll(p) if (new_wide < tmp_wide) { /* Return INT_MAX equiv on overflow. */ - tmp_wide = (~(unsigned HOST_WIDE_INT)0) >> 1; + tmp_wide = (~(HOST_WIDE_UINT)0) >> 1; break; } tmp_wide = new_wide; |