aboutsummaryrefslogtreecommitdiff
path: root/gcc/expr.c
diff options
context:
space:
mode:
authorBernd Edlinger <bernd.edlinger@hotmail.de>2013-12-01 09:08:04 +0000
committerBernd Edlinger <edlinger@gcc.gnu.org>2013-12-01 09:08:04 +0000
commitc931d01d7d439aa992116fa70d22fd407f8cb254 (patch)
tree2042f9d657527feae2e545ab6209c446a39d4625 /gcc/expr.c
parent2583109c81b60c64d5ed38e61622c39c1530805f (diff)
downloadgcc-c931d01d7d439aa992116fa70d22fd407f8cb254.zip
gcc-c931d01d7d439aa992116fa70d22fd407f8cb254.tar.gz
gcc-c931d01d7d439aa992116fa70d22fd407f8cb254.tar.bz2
expr.c (emit_group_store): Corrected BITFIELD_END parameter.
2013-12-01 Bernd Edlinger <bernd.edlinger@hotmail.de> * expr.c (emit_group_store): Corrected BITFIELD_END parameter. From-SVN: r205563
Diffstat (limited to 'gcc/expr.c')
-rw-r--r--gcc/expr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/expr.c b/gcc/expr.c
index 4815c88..aeff2ca 100644
--- a/gcc/expr.c
+++ b/gcc/expr.c
@@ -2131,7 +2131,7 @@ emit_group_store (rtx orig_dst, rtx src, tree type ATTRIBUTE_UNUSED, int ssize)
/* Make sure not to write past the end of the struct. */
store_bit_field (dest,
adj_bytelen * BITS_PER_UNIT, bytepos * BITS_PER_UNIT,
- bytepos * BITS_PER_UNIT, ssize * BITS_PER_UNIT,
+ bytepos * BITS_PER_UNIT, ssize * BITS_PER_UNIT - 1,
VOIDmode, tmps[i]);
}