Hi All,

Here is a simple patch which add missed misalign adjustment for outer loop.

Bootstrapping and regression testing did not show any new failures.

Is it OK for trunk?

ChangeLog:
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/ChangeLog:
        * gcc.dg/pr71518.c: New test.

Attachment: patch
Description: Binary data

Reply via email to