Mercurial > hg > CbC > CbC_gcc
annotate gcc/testsuite/gcc.c-torture/compile/20030224-1.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 /* { dg-require-effective-target alloca } */ |
2 void zzz (char *s1, char *s2, int len, int *q) | |
3 { | |
4 int z = 5; | |
5 unsigned int i, b; | |
6 struct { char a[z]; } x; | |
7 | |
8 for (i = 0; i < len; i++) | |
9 s1[i] = s2[i]; | |
10 | |
11 b = z & 0x3; | |
12 | |
13 len += (b == 0 ? 0 : 1) + z; | |
14 | |
15 *q = len; | |
16 | |
17 foo (x, x); | |
18 } |