blob: dbb743b80338e51f776e843d00401e6f14397557 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
/* { dg-do compile } */
int sad(const unsigned char *p1, long p2)
{
int a = 0;
for (int y = 0; y < 16; y++)
{
for (int x = 0; x < 12; x++)
a += p1[x];
p1 += p2;
}
return a;
}
|