1 /* PR tree-optimization/22117
2 VRP used think that &p[q] is nonzero even though p and q are both
3 known to be zero after entering the first two "if" statements. */
5 /* { dg-do compile } */
6 /* { dg-options "-O2 -fdump-tree-vrp" } */
22 /* { dg-final { scan-tree-dump-times "Folding predicate r_.* != 0B to 0" 1 "vrp" } } */
23 /* { dg-final { cleanup-tree-dump "vrp" } } */