1 /* { dg-do compile } */
2 /* { dg-options "-O2 -w -fdump-tree-dom2-details" } */
4 typedef struct rtx_def
*rtx
;
13 try_combine (rtx i1
, rtx newpat
)
16 if (i1
&& (temp
= (rtx
) ((((((newpat
->rt_rtx
, ((((temp
)->code
) == 42)))))))))
18 (rtx
) (((((((((((newpat
)->rt_rtx
),
19 ((((temp
)->code
) == 42) && arf ())))))))))))))
21 else if (i1
&& foo ());
24 /* There should be 3 tests against i1. Two from DOM machinery and one
25 in the code itself. */
26 /* { dg-final { scan-tree-dump-times "if .i1_" 3 "dom2"} } */
28 /* There should be no actual jump threads realized by DOM. The
29 legitimize jump threads are handled in VRP and those discovered
30 by DOM are subsumed by collapsing a conditional. */
31 /* { dg-final { scan-tree-dump-not "Threaded" "dom2"} } */