1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fdump-tree-vrp" } */
10 foo (struct A
*p
, struct A
*q
)
16 /* We should fold this to 'if (1)' but the assertion for 'p == q'
17 was overwriting the assertion 'p != 0' from the first dereference
23 /* { dg-final { scan-tree-dump-times "Folding predicate p_.*to 1" 1 "vrp" } } */
24 /* { dg-final { cleanup-tree-dump "vrp" } } */