1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fdump-tree-dom3-details" } */
10 struct tree_common common;
12 typedef union tree_node *tree;
14 extern tree test (tree, int, int);
15 extern tree foo (void);
16 extern void abort (void) __attribute__ ((__noreturn__));
19 test (tree expr, int t, int D17630)
24 if (expr->common.code != 142) goto L23; else goto L2;
32 if (D17630 != __i) goto L8; else goto L19;
35 if (t) goto L15; else goto L10;
39 if (expr->common.code != 142) goto L23; else goto L0;
49 /* We should thread the backedge to the top of the loop; ie we only
50 execute the if (expr->common.code != 142) test once per loop
52 /* { dg-final { scan-tree-dump-times "Threaded jump" 1 "dom3" } } */
53 /* { dg-final { cleanup-tree-dump "dom3" } } */