Sign in
gnu
/
gcc
/
d769c5040874bf9546f2524f3f1d2a894165f92a
/
.
/
gcc
/
testsuite
/
gcc.dg
/
pr92260.c
blob: 3dd34763b1fce142b4d81c456c43bc13e5f36956 [
file
] [
log
] [
blame
]
/* { dg-do compile } */
/* { dg-options "-O3" } */
extern
int
abs
(
int
);
int
e
(
const
unsigned
char
*
g
,
long
h
,
unsigned
char
m
)
{
int
i
=
0
;
for
(
int
j
=
0
;
j
<
h
;
j
++)
{
for
(
int
k
=
0
;
k
<
4
;
k
++)
i
+=
abs
(
g
[
k
]
-
m
);
g
+=
h
;
}
return
i
;
}