This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug tree-optimization/48616] -ftree-vectorize -mxop miscompiles right shift


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

--- Comment #11 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-04-18 06:55:17 UTC ---
Author: jakub
Date: Mon Apr 18 06:55:13 2011
New Revision: 172638

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=172638
Log:
    PR tree-optimization/48616
    * tree-vect-stmts.c (vectorizable_shift): If SLP, determine
    whether the shift is by scalar or vector based on whether all SLP
    scalar stmts have the same rhs.

    * gcc.dg/pr48616.c: New test.

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]