Mercurial > hg > CbC > CbC_gcc
annotate gcc/testsuite/gcc.c-torture/compile/pr36245.c @ 131:84e7813d76e9
gcc-8.2
author | mir3636 |
---|---|
date | Thu, 25 Oct 2018 07:37:49 +0900 |
parents | 04ced10e8804 |
children |
rev | line source |
---|---|
111 | 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 } |