Mercurial > hg > CbC > CbC_gcc
annotate gcc/testsuite/gcc.c-torture/compile/pr82564.c @ 145:1830386684a0
gcc-9.2.0
author | anatofuz |
---|---|
date | Thu, 13 Feb 2020 11:34:05 +0900 |
parents | |
children |
rev | line source |
---|---|
145 | 1 /* PR middle-end/82564 */ |
2 /* { dg-require-effective-target alloca } */ | |
3 | |
4 int | |
5 main () | |
6 { | |
7 int t = 8, i; | |
8 typedef struct { char v[t]; } B; | |
9 B a, b; | |
10 B __attribute__ ((noinline)) f () { return b; } | |
11 for (i = 0; i < 8; i++) | |
12 b.v[i] = i; | |
13 a = f (); | |
14 return 0; | |
15 } |