1 /* { dg-do compile } */
2 /* { dg-options "-O1 -fno-tree-fre -fdump-tree-dom2" } */
4 extern void abort (void);
6 typedef union tree_node
*tree
;
9 LAST_AND_UNUSED_TREE_CODE
11 extern const char tree_code_type
[];
14 enum tree_code code
:8;
18 struct tree_common common
;
23 struct tree_common common
;
24 struct tree_type type
;
31 if (tree_code_type
[t
->common
.code
] != 't')
34 t
->type
.alias_set
= set
;
36 if (t
->common
.code
== 42)
41 /* There should be precisely one load of common.code. If there is
42 more than one, then the dominator optimizations failed. */
43 /* { dg-final { scan-tree-dump-times "common.code" 1 "dom2" } } */