1 /* { dg-do compile } */
2 /* { dg-require-effective-target mpx } */
3 /* { dg-options "-fcheck-pointer-bounds -mmpx -O2 -fdump-tree-chkpopt" } */
4 /* { dg-final { scan-tree-dump-not "bndcl" "chkpopt" } } */
5 /* { dg-final { scan-tree-dump-not "bndcu" "chkpopt" } } */
9 p
= (int *)__builtin___bnd_set_ptr_bounds (p
, sizeof (int));