From 1993ff76f5f77f7c4597b9ca56a2712c3ed685bf Mon Sep 17 00:00:00 2001 From: Bin Cheng Date: Mon, 19 Sep 2016 16:35:32 +0000 Subject: [PATCH] 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 --- gcc/testsuite/ChangeLog | 4 ++++ gcc/testsuite/gcc.dg/vect/pr57558-1.c | 6 +++--- 2 files changed, 7 insertions(+), 3 deletions(-) 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; } -- 2.30.2