aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorDJ Delorie <dj@redhat.com>2006-01-24 23:10:54 +0000
committerDJ Delorie <dj@redhat.com>2006-01-24 23:10:54 +0000
commitafc3a87b5f92a2cc220602d7ef720cdba07c6c43 (patch)
treec62bd4577205a6e9322c86033406165d4285538a /gcc
parentfa3b5ca6e5fda422c41f06689c3f0f7f2fd8055b (diff)
* expmed.c (store_bit_field): Don't arbitrarily deny using insv
for storing constants in single-bit bitfields. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@110185 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/expmed.c1
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)