☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
gcc.c-torture
/
compile
/
pr36245.c
☽
☼
gcc/testsuite/gcc.c-torture/compile/pr36245.c
code
plain
raw
1
extern char buf1[10];
2
extern char buf2[10];
3
extern void b(int i, int j, int w);
4
5
void a() {
6
int i,j;
7
char *p;
8
int w;
9
10
p = buf1;
11
for(j = 0;j < 10; j++) {
12
for(i = 0;i < 10; i++) {
13
w = *p;
14
if(w != 1) {
15
w = buf2[p - buf1];
16
b(i*2+1, j, w);
17
}
18
p++;
19
}
20
}
21
}