diff options
Diffstat (limited to 'gcc/testsuite/gcc.target/i386/chkp-const-check-2.c')
-rw-r--r-- | gcc/testsuite/gcc.target/i386/chkp-const-check-2.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/gcc/testsuite/gcc.target/i386/chkp-const-check-2.c b/gcc/testsuite/gcc.target/i386/chkp-const-check-2.c deleted file mode 100644 index 839cf788e7c..00000000000 --- a/gcc/testsuite/gcc.target/i386/chkp-const-check-2.c +++ /dev/null @@ -1,8 +0,0 @@ -/* { dg-do compile { target { ! x32 } } } */ -/* { dg-options "-fcheck-pointer-bounds -mmpx -O2 -Wchkp" } */ - -int test (int *p) -{ - p = (int *)__builtin___bnd_set_ptr_bounds (p, sizeof (int)); - return *(p + 1); /* { dg-warning "memory access check always fail" } */ -} |