pr57558-1.c: Use unsigned int instead of unsigned long.
authorBin Cheng <bin.cheng@arm.com>
Mon, 19 Sep 2016 16:35:32 +0000 (16:35 +0000)
committerBin Cheng <amker@gcc.gnu.org>
Mon, 19 Sep 2016 16:35:32 +0000 (16:35 +0000)
gcc/testsuite
* gcc.dg/vect/pr57558-1.c: Use unsigned int instead of unsigned long.

From-SVN: r240239

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/vect/pr57558-1.c

index 7f2f057..68d3973 100644 (file)
@@ -1,3 +1,7 @@
+2016-09-19  Bin Cheng  <bin.cheng@arm.com>
+
+       * gcc.dg/vect/pr57558-1.c: Use unsigned int instead of unsigned long.
+
 2016-09-19  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
 
        * gcc.target/aarch64/gtu_to_ltu_cmp_1.c: New test.
index 1b36b75..e03aa0f 100644 (file)
@@ -1,10 +1,10 @@
 /* { dg-do compile } */
 /* { dg-require-effective-target vect_int } */
 
-typedef unsigned long ul;
-void foo (ul* __restrict x, ul* __restrict y, ul n)
+typedef unsigned int u_int;
+void foo (u_int* __restrict x, u_int* __restrict y, u_int n)
 {
-  ul i;
+  u_int i;
   for (i=1; i<=n; i++, x++, y++)
     *x += *y;
 }