r180704 - in /trunk/gcc: ChangeLog testsuite/Ch...
jakub@gcc.gnu.org
jakub@gcc.gnu.org
Mon Oct 31 16:52:00 GMT 2011
Author: jakub
Date: Mon Oct 31 16:52:19 2011
New Revision: 180704
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=180704
Log:
* tree-vect-stmts.c (vectorizable_shift): If op1 is vect_external_def
in a loop and has different type from op0, cast it to op0's type
before the loop first. For slp give up. Don't crash if op1_vectype
is NULL.
* gcc.dg/vshift-3.c: New test.
* gcc.dg/vshift-4.c: New test.
* gcc.dg/vshift-5.c: New test.
Added:
trunk/gcc/testsuite/gcc.dg/vshift-3.c
trunk/gcc/testsuite/gcc.dg/vshift-4.c
trunk/gcc/testsuite/gcc.dg/vshift-5.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/testsuite/ChangeLog
trunk/gcc/tree-vect-stmts.c
More information about the Gcc-cvs
mailing list