1 /* { dg-do compile } */
2 /* { dg-options "-O1 -fdump-tree-dom3" } */
5 typedef struct rtx_def
*rtx
;
9 LAST_AND_UNUSED_RTX_CODE
= 256
11 typedef union rtunion_def rtunion
;
14 enum rtx_code code
:16;
15 unsigned frame_related
:1;
26 if ((src_0
->code
== REG
) && (({src_2
;})->frame_related
))
27 return find_base_value (src_0
);
28 if ((src_1
->code
== REG
) && (({ src_3
;})->frame_related
))
29 return find_base_value (src_1
);
30 if (src_0
->code
== REG
)
31 find_base_value (src_0
);
32 if (src_1
->code
== REG
)
33 find_base_value (src_1
);
37 /* There should be four IF conditionals. */
38 /* { dg-final { scan-tree-dump-times "if " 4 "dom3"} } */
40 /* There should be no casts to short unsigned int. */
41 /* { dg-final { scan-tree-dump-times "\\(short unsigned int\\)" 0 "dom3"} } */
43 /* There should be two loads of ->code. */
44 /* { dg-final { scan-tree-dump-times "->code" 2 "dom3"} } */
46 /* { dg-final { cleanup-tree-dump "dom3" } } */