☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
other
/
pr42685.C
☽
☼
gcc/testsuite/g++.dg/other/pr42685.C
code
plain
raw
1
// { dg-do compile }
2
// { dg-options "-O -funroll-loops -fcompare-debug" }
3
4
void Remap(int n, int *src, int *dst, int *map)
5
{
6
do {
7
int i = *src;
8
if (i != 0) *dst = map[i];
9
} while (--n != 0);
10
}