diff options
author | uros <uros@138bc75d-0d04-0410-961f-82ee72b054a4> | 2016-07-20 21:59:44 +0000 |
---|---|---|
committer | uros <uros@138bc75d-0d04-0410-961f-82ee72b054a4> | 2016-07-20 21:59:44 +0000 |
commit | 457daa4e7a3390dd79a134301d760d15f9a4f5d0 (patch) | |
tree | 0336234738e4dd2c11c850544cfdd4cacde88e84 /gcc/double-int.c | |
parent | 24acd4ab61623430964b2fde87dc508b5e0cdf89 (diff) | |
download | gcc-457daa4e7a3390dd79a134301d760d15f9a4f5d0.tar.gz |
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@238545 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/double-int.c')
-rw-r--r-- | gcc/double-int.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/double-int.c b/gcc/double-int.c index 8a273907a6f..2d692f94b6a 100644 --- a/gcc/double-int.c +++ b/gcc/double-int.c @@ -557,7 +557,7 @@ div_and_round_double (unsigned code, int uns, case CEIL_MOD_EXPR: /* round toward positive infinity */ if (!quo_neg && (*lrem != 0 || *hrem != 0)) /* ratio > 0 && rem != 0 */ { - add_double (*lquo, *hquo, HOST_WIDE_INT_1, (HOST_WIDE_INT) 0, + add_double (*lquo, *hquo, HOST_WIDE_INT_1, HOST_WIDE_INT_0, lquo, hquo); } else @@ -593,7 +593,7 @@ div_and_round_double (unsigned code, int uns, HOST_WIDE_INT_M1, HOST_WIDE_INT_M1, lquo, hquo); else /* quo = quo + 1; */ - add_double (*lquo, *hquo, HOST_WIDE_INT_1, (HOST_WIDE_INT) 0, + add_double (*lquo, *hquo, HOST_WIDE_INT_1, HOST_WIDE_INT_0, lquo, hquo); } else |