PR rtl-optimization/79032
commitb0f26d5ea94be33eaab479b98348dd42c37a679f
authorebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 11 Jan 2017 11:27:43 +0000 (11 11:27 +0000)
committerebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 11 Jan 2017 11:27:43 +0000 (11 11:27 +0000)
tree293439ba584fbb7053bd43b36c0c1d62e28925c7
parenta19c4dc170b82de59a1eb6b370fc9785fb8ab7f8
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@244311 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/lra-constraints.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/execute/20170111-1.c [new file with mode: 0644]