* gcc.target/i386/pr70021.c: Add -mtune=skylake.
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / chkp-const-check-1.c
blob6e6d067fb5062d5a3f7f84a7a57fd01d2de8fbf5
1 /* { dg-do compile { target { ! x32 } } } */
2 /* { dg-options "-fcheck-pointer-bounds -mmpx -O2 -fdump-tree-chkpopt" } */
3 /* { dg-final { scan-tree-dump-not "bndcl" "chkpopt" } } */
4 /* { dg-final { scan-tree-dump-not "bndcu" "chkpopt" } } */
6 int test (int *p)
8 p = (int *)__builtin___bnd_set_ptr_bounds (p, sizeof (int));
9 return *p;