PR tree-optimization/85826 - ICE in gimple-ssa-warn-restruct on
[official-gcc.git] / gcc / testsuite / gcc.dg / stmt-expr-4.c
blobd6d01633d3bb0b2728e93a6b4ef7467defbdd914
2 /* { dg-options "-O2 -std=gnu99" } */
3 /* Internal compiler error in iterative_hash_expr */
5 struct tree_string
7 char str[1];
8 };
10 union tree_node
12 struct tree_string string;
15 char *Foo (union tree_node * num_string)
17 char *str = ((union {const char * _q; char * _nq;})
18 ((const char *)(({ __typeof (num_string) const __t
19 = num_string; __t; })
20 ->string.str)))._nq;
21 return str;