diff --git a/gcc/ChangeLog b/gcc/ChangeLog index ca7b3e85641..d3a30e9073a 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2013-12-01 Bernd Edlinger + + * expr.c (emit_group_store): Corrected BITFIELD_END parameter. + 2013-11-30 Paulo Matos Eric Botcazou diff --git a/gcc/expr.c b/gcc/expr.c index 4815c886f77..aeff2ca58f4 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]); }