From: Bin Cheng Date: Mon, 19 Sep 2016 16:35:32 +0000 (+0000) Subject: pr57558-1.c: Use unsigned int instead of unsigned long. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1993ff76f5f77f7c4597b9ca56a2712c3ed685bf;p=gcc.git pr57558-1.c: Use unsigned int instead of unsigned long. gcc/testsuite * gcc.dg/vect/pr57558-1.c: Use unsigned int instead of unsigned long. From-SVN: r240239 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 7f2f057fa0d..68d3973dcde 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2016-09-19 Bin Cheng + + * gcc.dg/vect/pr57558-1.c: Use unsigned int instead of unsigned long. + 2016-09-19 Kyrylo Tkachov * 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 1b36b75d2b5..e03aa0f27b9 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; }