Mercurial > hg > CbC > CbC_gcc
annotate gcc/testsuite/gcc.dg/tree-ssa/pr93776.c @ 152:2b5abeee2509
update gcc11
author | anatofuz |
---|---|
date | Mon, 25 May 2020 07:50:57 +0900 |
parents | |
children |
rev | line source |
---|---|
152 | 1 /* { dg-do compile } */ |
2 /* { dg-options "-O1" } */ | |
3 | |
4 struct empty {}; | |
5 struct s { int i; }; | |
6 struct z | |
7 { | |
8 int j; | |
9 struct empty e; | |
10 struct s s; | |
11 int k; | |
12 }; | |
13 | |
14 void bar (struct z); | |
15 void baz (int); | |
16 | |
17 void foo (void) | |
18 { | |
19 struct z z, z2; | |
20 | |
21 z.k = 8; | |
22 z2.s.i = 1; | |
23 z = z2; | |
24 bar (z); | |
25 z.e = (struct empty) {}; | |
26 baz (z.k); | |
27 } |