https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71518
--- Comment #4 from Ilya Enkovich <ienkovich at gcc dot gnu.org> --- Author: ienkovich Date: Mon Jul 11 15:21:20 2016 New Revision: 238212 URL: https://gcc.gnu.org/viewcvs?rev=238212&root=gcc&view=rev Log: 2016-07-11 Yuri Rumyantsev <ysrum...@gmail.com> Backport from mainline r238055. 2016-07-06 Yuri Rumyantsev <ysrum...@gmail.com> PR tree-optimization/71518 * tree-vect-data-refs.c (vect_compute_data_ref_alignment): Adjust misalign also for outer loops with negative step. gcc/testsuite/ 2016-07-11 Yuri Rumyantsev <ysrum...@gmail.com> Backport from mainline r238055. 2016-07-06 Yuri Rumyantsev <ysrum...@gmail.com> PR tree-optimization/71518 * gcc.dg/pr71518.c: New test. Added: branches/gcc-6-branch/gcc/testsuite/gcc.dg/pr71518.c Modified: branches/gcc-6-branch/gcc/ChangeLog branches/gcc-6-branch/gcc/testsuite/ChangeLog branches/gcc-6-branch/gcc/tree-vect-data-refs.c