From 2377345dcef913b6f957e1e27a6c82efede47cfa Mon Sep 17 00:00:00 2001 From: Bin Cheng Date: Tue, 10 Apr 2018 13:11:40 +0000 Subject: [PATCH] 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 --- gcc/testsuite/ChangeLog | 5 +++++ gcc/testsuite/gcc.dg/vect/pr81196.c | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) 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