1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fdump-tree-pre-stats" } */
9 struct tree_common common
;
11 typedef union tree_node
*tree
;
13 extern tree
test (tree
, int, int);
14 extern tree
foo (void);
15 extern void abort (void) __attribute__ ((__noreturn__
));
17 /* Redundant loads of expr->common.code */
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
;
47 /* { dg-final { scan-tree-dump-times "Eliminated: 1" 1 "pre"} } */
48 /* { dg-final { cleanup-tree-dump "pre" } } */