Commit 1993ff76 by Bin Cheng Committed by Bin Cheng

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
parent 5fa9e644
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> 2016-09-19 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
* gcc.target/aarch64/gtu_to_ltu_cmp_1.c: New test. * gcc.target/aarch64/gtu_to_ltu_cmp_1.c: New test.
......
/* { dg-do compile } */ /* { dg-do compile } */
/* { dg-require-effective-target vect_int } */ /* { dg-require-effective-target vect_int } */
typedef unsigned long ul; typedef unsigned int u_int;
void foo (ul* __restrict x, ul* __restrict y, ul n) 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++) for (i=1; i<=n; i++, x++, y++)
*x += *y; *x += *y;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment