repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
* gcc.target/powerpc/405-dlmzb-strlen-1.c: Skip on AIX.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
other
/
pr42685.C
blob
3c55955accc296037f2965c92758d430061c13fb
1
// { dg-do compile }
2
// { dg-options "-O -funroll-loops -fcompare-debug" }
3
// { dg-xfail-if "" { powerpc-ibm-aix* } { "*" } { "" } }
4
5
void Remap(int n, int *src, int *dst, int *map)
6
{
7
do {
8
int i = *src;
9
if (i != 0) *dst = map[i];
10
} while (--n != 0);
11
}