libcpp, c, middle-end: Optimize initializers using #embed in C
[official-gcc.git] / gcc / testsuite / gcc.dg / torture / 20210916.c
blob0ea6d45e463dc180c621270de6c1562ccbe5996e
1 /* { dg-do compile } */
3 typedef union tree_node *tree;
4 struct tree_base {
5 unsigned : 1;
6 unsigned lang_flag_2 : 1;
7 };
8 struct tree_type {
9 tree main_variant;
11 union tree_node {
12 struct tree_base base;
13 struct tree_type type;
15 tree finish_struct_t, finish_struct_x;
16 void finish_struct()
18 for (; finish_struct_t->type.main_variant;)
19 finish_struct_x->base.lang_flag_2 = 0;