]> git.ipfire.org Git - thirdparty/gcc.git/blob - gcc/testsuite/gcc.target/i386/chkp-builtins-2.c
ipa-chkp.c: New.
[thirdparty/gcc.git] / gcc / testsuite / gcc.target / i386 / chkp-builtins-2.c
1 /* { dg-do compile } */
2 /* { dg-options "-fcheck-pointer-bounds -mmpx -fdump-tree-chkp" } */
3 /* { dg-final { scan-tree-dump-not "bnd_copy_ptr_bounds" "chkp" } } */
4
5 void *
6 chkp_test (void *p, void *q)
7 {
8 return __builtin___bnd_copy_ptr_bounds (p, q);
9 }