2018-05-17 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / chkp-builtins-4.c
blobd408a490b13085e99e0e83dd2e57505f218badda
1 /* { dg-do compile { target { ! x32 } } } */
2 /* { dg-options "-fcheck-pointer-bounds -mmpx -fdump-tree-chkp" } */
3 /* { dg-final { scan-tree-dump-not "bnd_null_ptr_bounds" "chkp" } } */
5 void *
6 chkp_test (void *p)
8 return __builtin___bnd_null_ptr_bounds (p);