* g++.dg/ipa/pr64146.C (dg-final): Cleanup icf ipa dump.
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / chkp-builtins-1.c
blob299d0b031e9259370efb6d6e3aed30e1a17ad0b5
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_init_ptr_bounds" "chkp" } } */
5 /* { dg-final { cleanup-tree-dump "chkp" } } */
7 void *
8 chkp_test (void *p)
10 return __builtin___bnd_init_ptr_bounds (p);