summaryrefslogtreecommitdiff
path: root/gcc/dse.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/dse.c')
-rw-r--r--gcc/dse.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/dse.c b/gcc/dse.c
index 4394600c9c3..9dab6259c17 100644
--- a/gcc/dse.c
+++ b/gcc/dse.c
@@ -1370,8 +1370,7 @@ record_store (rtx body, bb_info_t bb_info)
ptr = next;
}
- gcc_assert ((unsigned) width
- <= sizeof (store_info->positions_needed) * CHAR_BIT);
+ gcc_assert ((unsigned) width <= HOST_BITS_PER_WIDE_INT);
/* Finish filling in the store_info. */
store_info->next = insn_info->store_rec;