[PATCH PR69652, Regression]

H.J. Lu hjl.tools@gmail.com
Sun Feb 28 17:29:00 GMT 2016


On Wed, Feb 10, 2016 at 2:26 AM, Yuri Rumyantsev <ysrumyan@gmail.com> wrote:
> Thanks Richard for your comments.
> I changes algorithm to remove dead scalar statements as you proposed.
>
> Bootstrap and regression testing did not show any new failures on x86-64.
> Is it OK for trunk?
>
> Changelog:
> 2016-02-10  Yuri Rumyantsev  <ysrumyan@gmail.com>
>
> PR tree-optimization/69652
> * tree-vect-loop.c (optimize_mask_stores): Move declaration of STMT1
> to nested loop, did source re-formatting, skip debug statements,
> add check on statement with volatile operand, remove dead scalar
> statements.
>
> gcc/testsuite/ChangeLog:
> * gcc.dg/torture/pr69652.c: New test.
>
>

/* { dg-do compile } */
/* { dg-options "-O2 -ffast-math -ftree-vectorize " } */
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Any particular reason why it should be in gcc.dg/torture, not in
gcc.dg/vect? -O2 here is overridden by -Ox.

/* { dg-additional-options "-mavx" { target { i?86-*-* x86_64-*-* } } } */



-- 
H.J.



More information about the Gcc-patches mailing list