Daily bump.
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / chkp-const-check-2.c
blob839cf788e7c68be1a59d9e6c063f5895e9aae5ae
1 /* { dg-do compile { target { ! x32 } } } */
2 /* { dg-options "-fcheck-pointer-bounds -mmpx -O2 -Wchkp" } */
4 int test (int *p)
6 p = (int *)__builtin___bnd_set_ptr_bounds (p, sizeof (int));
7 return *(p + 1); /* { dg-warning "memory access check always fail" } */