1/* { dg-do compile { target { ! x32 } } } */ 2/* { dg-options "-fcheck-pointer-bounds -mmpx -fdump-tree-chkp" } */ 3/* { dg-final { scan-tree-dump-not "bnd_copy_ptr_bounds" "chkp" } } */ 4/* { dg-final { cleanup-tree-dump "chkp" } } */ 5 6void * 7chkp_test (void *p, void *q) 8{ 9 return __builtin___bnd_copy_ptr_bounds (p, q); 10} 11