expmed.c (store_bit_field): Don't arbitrarily deny using insv for storing constants in single-bit bitfields.

* expmed.c (store_bit_field): Don't arbitrarily deny using insv
for storing constants in single-bit bitfields.

From-SVN: r110185
This commit is contained in:
DJ Delorie 2006-01-24 18:10:54 -05:00 committed by DJ Delorie
parent 7af1a0358e
commit 1bb8d49c5e
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2006-01-24 DJ Delorie <dj@redhat.com>
* expmed.c (store_bit_field): Don't arbitrarily deny using insv
for storing constants in single-bit bitfields.
2006-01-25 Ben Elliston <bje@au.ibm.com>
* dfp.c (dfp_byte_swap): Use uint32_t and not unsigned long.

View File

@ -614,7 +614,6 @@ store_bit_field (rtx str_rtx, unsigned HOST_WIDE_INT bitsize,
if (HAVE_insv
&& GET_MODE (value) != BLKmode
&& !(bitsize == 1 && GET_CODE (value) == CONST_INT)
&& bitsize > 0
&& GET_MODE_BITSIZE (op_mode) >= bitsize
&& ! ((REG_P (op0) || GET_CODE (op0) == SUBREG)