1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fdump-tree-vrp1 -fno-early-inlining -fdelete-null-pointer-checks -fno-thread-jumps -fno-ipa-vrp" } */
8 static inline void *zero ()
12 static inline int three ()
18 can_combine_p (rtx insn
, rtx elt
)
23 if (insn
->code
== three ())
38 /* Target disabling -fdelete-null-pointer-checks should not fold checks */
39 /* { dg-final { scan-tree-dump-times "Folding predicate.*to 0" 1 "vrp1" { target { ! keeps_null_pointer_checks } } } } */
40 /* { dg-final { scan-tree-dump-times "Folding predicate.*to 0" 0 "vrp1" { target { keeps_null_pointer_checks } } } } */