Commit c57e78c4 by Bin Cheng Committed by Bin Cheng

re PR tree-optimization/33707 (scev not handling unsigned conversion)

	gcc/testsuite
	PR tree-optimization/33707
	* gcc.dg/vect/pr33707.c: New test.

From-SVN: r239292
parent 42970a17
2016-08-09 Bin Cheng <bin.cheng@arm.com> 2016-08-09 Bin Cheng <bin.cheng@arm.com>
PR tree-optimization/33707
* gcc.dg/vect/pr33707.c: New test.
2016-08-09 Bin Cheng <bin.cheng@arm.com>
PR tree-optimization/pr72772 PR tree-optimization/pr72772
* gcc.dg/tree-ssa/pr72772.c: New test. * gcc.dg/tree-ssa/pr72772.c: New test.
......
/* { dg-do compile } */
/* { dg-require-effective-target vect_int } */
int
foo (char *a, unsigned n)
{
int i;
a[0] = 0;
for (i = 16; i < n; i++)
a[i] = a[i-16];
}
/* { dg-final { scan-tree-dump "vectorized 1 loops" "vect" } } */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment