libcpp, c, middle-end: Optimize initializers using #embed in C
[official-gcc.git] / gcc / testsuite / gcc.dg / tree-ssa / pr61090.c
blobfff289572ac5af24e0a454b1e2a6bed3ba2f5d3c
1 /* { dg-do compile } */
2 /* { dg-options "-O" } */
4 struct i {
5 int c;
6 };
8 static int
9 p(struct i a)
11 return 0;
14 void
15 h(void)
17 struct i z[] = {{ 0 }};
18 int e[] = {};
19 int x;
20 e[0] = p(z[x]) + z[x].c;