re PR testsuite/85190 (gcc.dg/vect/pr81196.c FAILs)
authorBin Cheng <bin.cheng@arm.com>
Tue, 10 Apr 2018 13:11:40 +0000 (13:11 +0000)
committerBin Cheng <amker@gcc.gnu.org>
Tue, 10 Apr 2018 13:11:40 +0000 (13:11 +0000)
gcc/testsuite
PR testsuite/85190
* gcc.dg/vect/pr81196.c: Adjust pointer for aligned access.

From-SVN: r259272

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/vect/pr81196.c

index 1d68b755932f0609218e016997785b0958784f49..11e18865164c301d1df627b00f10607461f41592 100644 (file)
@@ -1,3 +1,8 @@
+2018-04-10  Bin Cheng  <bin.cheng@arm.com>
+
+       PR testsuite/85190
+       * gcc.dg/vect/pr81196.c: Adjust pointer for aligned access.
+
 2018-04-10  Jakub Jelinek  <jakub@redhat.com>
 
        PR target/85177
index 46d7a9ebc57b4512f137e8f0c9bef7f4ed0f3227..15320ae63b7776fa5e9bb0876b64c63b3ef683ac 100644 (file)
@@ -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<q;++p,--q){
     short t=*p;*p=*q;*q=t;
   }