aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/testsuite/ChangeLog4
-rw-r--r--gcc/testsuite/gcc.dg/vect/pr57558-1.c6
2 files changed, 7 insertions, 3 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 7f2f057..68d3973 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -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.
diff --git a/gcc/testsuite/gcc.dg/vect/pr57558-1.c b/gcc/testsuite/gcc.dg/vect/pr57558-1.c
index 1b36b75..e03aa0f 100644
--- a/gcc/testsuite/gcc.dg/vect/pr57558-1.c
+++ b/gcc/testsuite/gcc.dg/vect/pr57558-1.c
@@ -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;
}