[Bug tree-optimization/60656] [4.8/4.9 regression] x86 vectorization produces wrong code

congh at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sat Apr 5 01:28:00 GMT 2014


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60656

--- Comment #8 from Cong Hou <congh at gcc dot gnu.org> ---
Author: congh
Date: Sat Apr  5 01:27:21 2014
New Revision: 209138

URL: http://gcc.gnu.org/viewcvs?rev=209138&root=gcc&view=rev
Log:
2014-04-04  Cong Hou  <congh@google.com>

    PR tree-optimization/60656
    * tree-vect-stmts.c (supportable_widening_operation):
      Fix a bug that elements in a vector with vect_used_by_reduction
      property are incorrectly reordered when the operation on it is not
      consistant with the one in reduction operation.

2014-04-04  Cong Hou  <congh@google.com>

    PR tree-optimization/60656
    * gcc.dg/vect/pr60656.c: New test.


Added:
    trunk/gcc/testsuite/gcc.dg/vect/pr60656.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-vect-stmts.c



More information about the Gcc-bugs mailing list