expr.c (expand_assignment): Update bitregion_start and bitregion_end.

2013-12-06  Bernd Edlinger  <bernd.edlinger@hotmail.de>

        * expr.c (expand_assignment): Update bitregion_start and
        bitregion_end.

From-SVN: r205745
This commit is contained in:
Bernd Edlinger 2013-12-06 14:23:00 +00:00 committed by Bernd Edlinger
parent 079db27b09
commit 26c096c3a3
2 changed files with 8 additions and 0 deletions

View file

@ -1,3 +1,8 @@
2013-12-06 Bernd Edlinger <bernd.edlinger@hotmail.de>
* expr.c (expand_assignment): Update bitregion_start and
bitregion_end.
2013-12-06 Eric Botcazou <ebotcazou@adacore.com>
PR target/59316

View file

@ -4880,6 +4880,9 @@ expand_assignment (tree to, tree from, bool nontemporal)
&& MEM_ALIGN (to_rtx) == GET_MODE_ALIGNMENT (mode1))
{
to_rtx = adjust_address (to_rtx, mode1, bitpos / BITS_PER_UNIT);
bitregion_start = 0;
if (bitregion_end >= (unsigned HOST_WIDE_INT) bitpos)
bitregion_end -= bitpos;
bitpos = 0;
}