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