1 /* { dg-do compile } */
2 /* { dg-require-effective-target mpx } */
3 /* { dg-options "-fcheck-pointer-bounds -mmpx -O2 -fdump-tree-chkpopt -fchkp-use-nochk-string-functions" } */
4 /* { dg-final { scan-tree-dump "memset_nochk" "chkpopt" } } */
8 void test (int *buf1
, int c
, size_t len
)
10 memset (buf1
, c
, len
);