Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
other
/
pr42685.C
blob: b8b1ad63b1b46eb6c03fa549918732dd55e1e31e [
file
] [
log
] [
blame
]
// { dg-do compile }
// { dg-options "-O -funroll-loops -fcompare-debug" }
void
Remap
(
int
n
,
int
*
src
,
int
*
dst
,
int
*
map
)
{
do
{
int
i
=
*
src
;
if
(
i
!=
0
)
*
dst
=
map
[
i
];
}
while
(--
n
!=
0
);
}