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