[Bug target/68143] [5/6 Regression][ARM] Wrong code initialising struct member after zeroing out the whole struct
ktkachov at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Nov 18 13:19:00 GMT 2015
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68143
--- Comment #4 from ktkachov at gcc dot gnu.org ---
Author: ktkachov
Date: Wed Nov 18 13:18:47 2015
New Revision: 230544
URL: https://gcc.gnu.org/viewcvs?rev=230544&root=gcc&view=rev
Log:
[ARM] PR 68143 Properly update memory offsets when expanding setmem
Backport from mainline
2015-11-17 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
PR target/68143
* config/arm/arm.c (arm_block_set_unaligned_vect): Keep track of
offset from dstbase and use it appropriately in
adjust_automodify_address.
(arm_block_set_aligned_vect): Likewise.
* gcc.c-torture/execute/pr68143_1.c: New test.
Added:
branches/gcc-5-branch/gcc/testsuite/gcc.c-torture/execute/pr68143_1.c
Modified:
branches/gcc-5-branch/gcc/ChangeLog
branches/gcc-5-branch/gcc/config/arm/arm.c
branches/gcc-5-branch/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list