Commit ef45fd3b by Bin Cheng Committed by Bin Cheng

re PR testsuite/85190 (gcc.dg/vect/pr81196.c FAILs)

	gcc/testsuite
	PR testsuite/85190
	* gcc.dg/vect/pr81196.c: Remove function with undefined behavior.

From-SVN: r259326
parent 79894a61
2018-04-11 Bin Cheng <bin.cheng@arm.com>
PR testsuite/85190
* gcc.dg/vect/pr81196.c: Remove function with undefined behavior.
2018-04-11 Jakub Jelinek <jakub@redhat.com>
PR c++/70808
......
......@@ -2,13 +2,6 @@
/* { dg-require-effective-target vect_int } */
/* { dg-require-effective-target vect_perm_short } */
void f(short*p){
p=(short*)__builtin_assume_aligned(p,64);
short*q=p+255;
for(;p!=q;++p,--q){
short t=*p;*p=*q;*q=t;
}
}
void b(short*p){
p=(short*)__builtin_assume_aligned(p,64);
short*q=p+255;
......@@ -16,4 +9,4 @@ void b(short*p){
short t=*p;*p=*q;*q=t;
}
}
/* { dg-final { scan-tree-dump-times "vectorized 1 loops" 2 "vect" } } */
/* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "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