From: H.J. Lu Date: Fri, 11 Apr 2008 17:24:24 +0000 (+0000) Subject: dse.c (record_store): Use HOST_BITS_PER_WIDE_INT instead of size of positions_needed... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9d6facc7fe9e1d6cb04ec1f03cb41969c01c3d97;p=gcc.git dse.c (record_store): Use HOST_BITS_PER_WIDE_INT instead of size of positions_needed * CHAR_BIT. 2008-04-11 H.J. Lu * dse.c (record_store): Use HOST_BITS_PER_WIDE_INT instead of size of positions_needed * CHAR_BIT. From-SVN: r134203 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 8c5bcff459c..8644773062a 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2008-04-11 H.J. Lu + + * dse.c (record_store): Use HOST_BITS_PER_WIDE_INT instead + of size of positions_needed * CHAR_BIT. + 2008-04-11 H.J. Lu PR middle-end/35897 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;