Mercurial > hg > CbC > CbC_gcc
annotate gcc/testsuite/gcc.c-torture/compile/pr40797.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 typedef struct str { short x, y;} S; |
2 | |
3 static short | |
4 bar (short ch, short sl, short sr, short tl, short tr) | |
5 { | |
6 return 0; | |
7 } | |
8 | |
9 void | |
10 foo (short ch, S *pi, short nc, S *po) | |
11 { | |
12 short clo, chi, lo, hi; | |
13 | |
14 po->x = bar (ch, clo, chi, pi[lo].x, pi[hi].x); | |
15 po->y = bar (ch, clo, chi, pi[lo].y, pi[hi].y); | |
16 } |