From ef45fd3ba15237b751b530bff1f2691c4988d02b Mon Sep 17 00:00:00 2001 From: Bin Cheng Date: Wed, 11 Apr 2018 16:50:16 +0000 Subject: [PATCH] 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 --- gcc/testsuite/ChangeLog | 5 +++++ gcc/testsuite/gcc.dg/vect/pr81196.c | 9 +-------- 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index b726a4b526d..9bb1a703a2b 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2018-04-11 Bin Cheng + + PR testsuite/85190 + * gcc.dg/vect/pr81196.c: Remove function with undefined behavior. + 2018-04-11 Jakub Jelinek PR c++/70808 diff --git a/gcc/testsuite/gcc.dg/vect/pr81196.c b/gcc/testsuite/gcc.dg/vect/pr81196.c index 15320ae63b7..97d40a0243d 100644 --- a/gcc/testsuite/gcc.dg/vect/pr81196.c +++ b/gcc/testsuite/gcc.dg/vect/pr81196.c @@ -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" } } */ -- 2.30.2