re PR middle-end/35897 (DSE doesn't support targets with wide registers)
authorH.J. Lu <hongjiu.lu@intel.com>
Fri, 11 Apr 2008 15:52:19 +0000 (15:52 +0000)
committerH.J. Lu <hjl@gcc.gnu.org>
Fri, 11 Apr 2008 15:52:19 +0000 (08:52 -0700)
commit4fe663b09197bff815f2ffdce66c6b38d36666da
tree94834110a3a0797467e7552d74ac1d9196e49a9d
parent9fdd7520f9094f83012c8a0617f9d5e80bdd2662
re PR middle-end/35897 (DSE doesn't support targets with wide registers)

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.
(lowpart_bitmask): New.
(record_store): Cast to unsigned HOST_WIDE_INT for
positions_needed.  Assert width <= size of positions_needed *
CHAR_BIT.  Call lowpart_bitmask to initialize positions_needed.
(check_mem_read_rtx): Use unsigned HOST_WIDE_INT on mask.  Call
lowpart_bitmask to set mask.

From-SVN: r134199
gcc/ChangeLog
gcc/dse.c