From: Bin Cheng Date: Tue, 10 Apr 2018 13:11:40 +0000 (+0000) Subject: re PR testsuite/85190 (gcc.dg/vect/pr81196.c FAILs) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2377345dcef913b6f957e1e27a6c82efede47cfa;p=gcc.git re PR testsuite/85190 (gcc.dg/vect/pr81196.c FAILs) gcc/testsuite PR testsuite/85190 * gcc.dg/vect/pr81196.c: Adjust pointer for aligned access. From-SVN: r259272 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 1d68b755932..11e18865164 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2018-04-10 Bin Cheng + + PR testsuite/85190 + * gcc.dg/vect/pr81196.c: Adjust pointer for aligned access. + 2018-04-10 Jakub Jelinek PR target/85177 diff --git a/gcc/testsuite/gcc.dg/vect/pr81196.c b/gcc/testsuite/gcc.dg/vect/pr81196.c index 46d7a9ebc57..15320ae63b7 100644 --- a/gcc/testsuite/gcc.dg/vect/pr81196.c +++ b/gcc/testsuite/gcc.dg/vect/pr81196.c @@ -4,14 +4,14 @@ void f(short*p){ p=(short*)__builtin_assume_aligned(p,64); - short*q=p+256; + 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+256; + short*q=p+255; for(;p