diff options
author | Bin Cheng <bin.cheng@arm.com> | 2016-09-19 16:35:32 +0000 |
---|---|---|
committer | Bin Cheng <amker@gcc.gnu.org> | 2016-09-19 16:35:32 +0000 |
commit | 1993ff76f5f77f7c4597b9ca56a2712c3ed685bf (patch) | |
tree | 9d4baffd9450df22e52e193072ef8d1ae7eebd47 /gcc | |
parent | 5fa9e6441ff5169f90d0754b2321d3ddffad89fa (diff) | |
download | gcc-1993ff76f5f77f7c4597b9ca56a2712c3ed685bf.zip gcc-1993ff76f5f77f7c4597b9ca56a2712c3ed685bf.tar.gz gcc-1993ff76f5f77f7c4597b9ca56a2712c3ed685bf.tar.bz2 |
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
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/testsuite/ChangeLog | 4 | ||||
-rw-r--r-- | 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 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; } |