aboutsummaryrefslogtreecommitdiff
path: root/gcc/dse.c
diff options
context:
space:
mode:
authorUros Bizjak <ubizjak@gmail.com>2016-07-20 23:59:44 +0200
committerUros Bizjak <uros@gcc.gnu.org>2016-07-20 23:59:44 +0200
commit07e96250aeacec28d95f13b453c40485fd185fb7 (patch)
tree0336234738e4dd2c11c850544cfdd4cacde88e84 /gcc/dse.c
parent52ed68f71a750260fd926479e41e3f7ad7cd9aa2 (diff)
downloadgcc-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/dse.c')
-rw-r--r--gcc/dse.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/gcc/dse.c b/gcc/dse.c
index 89c3f94..05a2886 100644
--- a/gcc/dse.c
+++ b/gcc/dse.c
@@ -1217,7 +1217,7 @@ set_all_positions_unneeded (store_info *s_info)
s_info->positions_needed.large.count = end;
}
else
- s_info->positions_needed.small_bitmask = (unsigned HOST_WIDE_INT) 0;
+ s_info->positions_needed.small_bitmask = HOST_WIDE_INT_0U;
}
/* Return TRUE if any bytes from S_INFO store are needed. */
@@ -1229,8 +1229,7 @@ any_positions_needed_p (store_info *s_info)
return (s_info->positions_needed.large.count
< s_info->end - s_info->begin);
else
- return (s_info->positions_needed.small_bitmask
- != (unsigned HOST_WIDE_INT) 0);
+ return (s_info->positions_needed.small_bitmask != HOST_WIDE_INT_0U);
}
/* Return TRUE if all bytes START through START+WIDTH-1 from S_INFO