re PR rtl-optimization/79032 (unaligned memory access generated with LRA and optimiza...
authorEric Botcazou <ebotcazou@adacore.com>
Wed, 11 Jan 2017 11:27:43 +0000 (11:27 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Wed, 11 Jan 2017 11:27:43 +0000 (11:27 +0000)
commit849fccf8312f734dddf4e3ea84eeabd2e243a10d
tree293439ba584fbb7053bd43b36c0c1d62e28925c7
parente325277522ec7a72286f1faa5bfb47f4b4be3d81
re PR rtl-optimization/79032 (unaligned memory access generated with LRA and optimization)

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.

From-SVN: r244311
gcc/ChangeLog
gcc/lra-constraints.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/execute/20170111-1.c [new file with mode: 0644]