[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
Tue Nov 17 13:20:00 GMT 2015


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68143

--- Comment #3 from ktkachov at gcc dot gnu.org ---
Author: ktkachov
Date: Tue Nov 17 13:20:08 2015
New Revision: 230462

URL: https://gcc.gnu.org/viewcvs?rev=230462&root=gcc&view=rev
Log:
[ARM] PR 68143 Properly update memory offsets when expanding setmem

        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:
    trunk/gcc/testsuite/gcc.c-torture/execute/pr68143_1.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/arm/arm.c
    trunk/gcc/testsuite/ChangeLog


More information about the Gcc-bugs mailing list