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
This commit is contained in:
parent
42970a179d
commit
c57e78c4be
@ -1,3 +1,8 @@
|
||||
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
|
||||
|
12
gcc/testsuite/gcc.dg/vect/pr33707.c
Normal file
12
gcc/testsuite/gcc.dg/vect/pr33707.c
Normal file
@ -0,0 +1,12 @@
|
||||
/* { 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" } } */
|
Loading…
Reference in New Issue
Block a user