From c931d01d7d439aa992116fa70d22fd407f8cb254 Mon Sep 17 00:00:00 2001 From: Bernd Edlinger Date: Sun, 1 Dec 2013 09:08:04 +0000 Subject: [PATCH] expr.c (emit_group_store): Corrected BITFIELD_END parameter. 2013-12-01 Bernd Edlinger * expr.c (emit_group_store): Corrected BITFIELD_END parameter. From-SVN: r205563 --- gcc/ChangeLog | 4 ++++ gcc/expr.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index ca7b3e85641e..d3a30e9073a8 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 4815c886f773..aeff2ca58f41 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]); } -- 2.47.3