merge with trunk @ 139506
[official-gcc.git] / gcc / testsuite / gcc.dg / tree-ssa / 20030922-1.c
blob96db1bd1d3addc25035c9dbd93f880364d98bac3
1 /* { dg-do compile } */
2 /* { dg-options "-O1 -fdump-tree-dom2" } */
4 extern void abort (void);
6 union tree_node;
7 typedef union tree_node *tree;
8 enum tree_code
10 BIND_EXPR,
12 struct tree_common
14 enum tree_code code:8;
16 union tree_node
18 struct tree_common common;
20 tree
21 voidify_wrapper_expr (tree wrapper)
23 switch (wrapper->common.code)
25 case BIND_EXPR:
26 if (wrapper->common.code != BIND_EXPR)
27 abort ();
32 /* There should be no IF conditionals. */
33 /* { dg-final { scan-tree-dump-times "if " 0 "dom2"} } */
34 /* { dg-final { cleanup-tree-dump "dom2" } } */