diff options
author | dj <dj@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-01-24 23:10:54 +0000 |
---|---|---|
committer | dj <dj@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-01-24 23:10:54 +0000 |
commit | 1ca60af3097a4fec3d249272d45ac08c5a6ec8d9 (patch) | |
tree | c62bd4577205a6e9322c86033406165d4285538a | |
parent | eaf00f5717c138e8e75fc3265b79295208ab5b94 (diff) | |
download | gcc-1ca60af3097a4fec3d249272d45ac08c5a6ec8d9.tar.gz |
* expmed.c (store_bit_field): Don't arbitrarily deny using insv
for storing constants in single-bit bitfields.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@110185 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/expmed.c | 1 |
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index f9df376720a..7e12f30159e 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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. diff --git a/gcc/expmed.c b/gcc/expmed.c index 23909404005..c4797b86f8a 100644 --- a/gcc/expmed.c +++ b/gcc/expmed.c @@ -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) |