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
This commit is contained in:
Bernd Edlinger 2013-12-01 09:08:04 +00:00 committed by Bernd Edlinger
parent 2583109c81
commit c931d01d7d
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2013-12-01 Bernd Edlinger <bernd.edlinger@hotmail.de>
* expr.c (emit_group_store): Corrected BITFIELD_END parameter.
2013-11-30 Paulo Matos <pmatos@broadcom.com>
Eric Botcazou <ebotcazou@adacore.com>

View File

@ -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]);
}