2 /* { dg-options "-O2 -fdump-tree-vrp" } */
4 static inline void do_thing(char *s
, int *p
, char *q
)
6 /* This should be folded away. */
10 /* This should not be folded as 'p' is not marked nonnull. */
15 void __attribute__((nonnull (1, 3))) do_other_thing(char *s
, int *p
, char *q
)
24 do_other_thing ("xxx", &i
, "yyy");
27 /* { dg-final { scan-tree-dump-times "Folding predicate p_.*" 0 "vrp" } } */
28 /* { dg-final { cleanup-tree-dump "vrp" } } */