2015-12-10 Vladimir Makarov <vmakarov@redhat.com>
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / chkp-builtins-2.c
blobdc62238c5bd87fea3fc4e8024a74dab0f707100f
1 /* { dg-do compile } */
2 /* { dg-require-effective-target mpx } */
3 /* { dg-options "-fcheck-pointer-bounds -mmpx -fdump-tree-chkp" } */
4 /* { dg-final { scan-tree-dump-not "bnd_copy_ptr_bounds" "chkp" } } */
6 void *
7 chkp_test (void *p, void *q)
9 return __builtin___bnd_copy_ptr_bounds (p, q);