[Bug rtl-optimization/79032] [7 regression] unaligned memory access generated with LRA and optimization

ebotcazou at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Jan 11 11:28:00 GMT 2017


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

--- Comment #7 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
Author: ebotcazou
Date: Wed Jan 11 11:27:43 2017
New Revision: 244311

URL: https://gcc.gnu.org/viewcvs?rev=244311&root=gcc&view=rev
Log:
        PR rtl-optimization/79032
        * lra-constraints.c (simplify_operand_subreg): In the MEM case, test
        the alignment of the adjusted memory reference against that of MODE,
        instead of the alignment of the original memory reference.

Added:
    trunk/gcc/testsuite/gcc.c-torture/execute/20170111-1.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/lra-constraints.c
    trunk/gcc/testsuite/ChangeLog


More information about the Gcc-bugs mailing list