summaryrefslogtreecommitdiff
path: root/gcc/dse.c
diff options
context:
space:
mode:
authorhjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>2008-04-11 17:24:24 +0000
committerhjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>2008-04-11 17:24:24 +0000
commit07509ef326708172aabab06552b8f677dbd2d9eb (patch)
treede93aeeba1d1e5bdd0b91ebd75119822f24d8534 /gcc/dse.c
parent4e43e20a8de36cb0bd70e11f782b1da5d49b56df (diff)
downloadgcc-07509ef326708172aabab06552b8f677dbd2d9eb.tar.gz
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@134203 138bc75d-0d04-0410-961f-82ee72b054a4
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;