1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fdump-tree-vrp1" } */
4 extern void abort (void);
7 typedef union tree_node *tree;
18 struct tree_common common;
19 struct tree_list list;
22 simplify_condition (cond_p)
27 if (cond->common.code != 42)
29 decl = cond->list.purpose;
30 if (cond->common.code != 42)
32 c_simplify_stmt (&decl);
35 /* There should be exactly one IF conditional. */
36 /* { dg-final { scan-tree-dump-times "if " 1 "vrp1" } } */
37 /* { dg-final { cleanup-tree-dump "vrp1" } } */