dse.c (record_store): Use HOST_BITS_PER_WIDE_INT instead of size of positions_needed...
authorH.J. Lu <hongjiu.lu@intel.com>
Fri, 11 Apr 2008 17:24:24 +0000 (17:24 +0000)
committerH.J. Lu <hjl@gcc.gnu.org>
Fri, 11 Apr 2008 17:24:24 +0000 (10:24 -0700)
2008-04-11  H.J. Lu  <hongjiu.lu@intel.com>

* dse.c (record_store): Use HOST_BITS_PER_WIDE_INT instead
of size of positions_needed * CHAR_BIT.

From-SVN: r134203

gcc/ChangeLog
gcc/dse.c

index 8c5bcff459cd5e9e7f8ca1474eda8d58ea84cac4..8644773062ae31ab4e11c4d8e3b1310ecfdddcd0 100644 (file)
@@ -1,3 +1,8 @@
+2008-04-11  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * dse.c (record_store): Use HOST_BITS_PER_WIDE_INT instead
+       of size of positions_needed * CHAR_BIT.
+
 2008-04-11  H.J. Lu  <hongjiu.lu@intel.com>
 
        PR middle-end/35897
index 4394600c9c340dd9c4afc0cd4f070d798bd03285..9dab6259c171141e260c73245ea04e9053bc4948 100644 (file)
--- 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;