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 7f2f057fa0dd869bfcd107adf8c284646041bf4a..68d3973dcde4aab8427a450285a6f2af3a8243ae 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 1b36b75d2b598a621a501acc5e0e57d1d4be9f6b..e03aa0f27b9c85eee1389d37b6e84b603b499a24 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;
 }