Commit 9d6facc7 by H.J. Lu Committed by 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  <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
parent 4fe663b0
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
* dse.c (store_info): Change positions_needed to unsigned
HOST_WIDE_INT.
......
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment