diff options
author | Uros Bizjak <ubizjak@gmail.com> | 2016-07-20 23:59:44 +0200 |
---|---|---|
committer | Uros Bizjak <uros@gcc.gnu.org> | 2016-07-20 23:59:44 +0200 |
commit | 07e96250aeacec28d95f13b453c40485fd185fb7 (patch) | |
tree | 0336234738e4dd2c11c850544cfdd4cacde88e84 /gcc/hwint.h | |
parent | 52ed68f71a750260fd926479e41e3f7ad7cd9aa2 (diff) | |
download | gcc-07e96250aeacec28d95f13b453c40485fd185fb7.zip gcc-07e96250aeacec28d95f13b453c40485fd185fb7.tar.gz gcc-07e96250aeacec28d95f13b453c40485fd185fb7.tar.bz2 |
hwint.h (HOST_WIDE_INT_0): New define.
* hwint.h (HOST_WIDE_INT_0): New define.
(HOST_WIDE_INT_0U): Ditto.
* double-int.c: Use HOST_WIDE_INT_0 instead of (HOST_WIDE_INT) 0.
* dse.c: Use HOST_WIDE_INT_0U instead of (unsigned HOST_WIDE_INT) 0.
* simplify-rtx.c: Ditto.
* tree-object-size.c: Ditto.
From-SVN: r238545
Diffstat (limited to 'gcc/hwint.h')
-rw-r--r-- | gcc/hwint.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/hwint.h b/gcc/hwint.h index c816ed4..6b4d537 100644 --- a/gcc/hwint.h +++ b/gcc/hwint.h @@ -63,6 +63,8 @@ extern char sizeof_long_long_must_be_8[sizeof (long long) == 8 ? 1 : -1]; #endif #define HOST_WIDE_INT_UC(X) HOST_WIDE_INT_C (X ## U) +#define HOST_WIDE_INT_0 HOST_WIDE_INT_C (0) +#define HOST_WIDE_INT_0U HOST_WIDE_INT_UC (0) #define HOST_WIDE_INT_1 HOST_WIDE_INT_C (1) #define HOST_WIDE_INT_1U HOST_WIDE_INT_UC (1) #define HOST_WIDE_INT_M1 HOST_WIDE_INT_C (-1) |