From: Bernd Edlinger Date: Sun, 1 Dec 2013 09:08:04 +0000 (+0000) Subject: expr.c (emit_group_store): Corrected BITFIELD_END parameter. X-Git-Tag: releases/gcc-4.9.0~2346 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c931d01d7d439aa992116fa70d22fd407f8cb254;p=thirdparty%2Fgcc.git 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 --- 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]); }