summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/i386/chkp-narrow-bounds.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gcc.target/i386/chkp-narrow-bounds.c')
-rw-r--r--gcc/testsuite/gcc.target/i386/chkp-narrow-bounds.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/gcc/testsuite/gcc.target/i386/chkp-narrow-bounds.c b/gcc/testsuite/gcc.target/i386/chkp-narrow-bounds.c
deleted file mode 100644
index ab1b122479a..00000000000
--- a/gcc/testsuite/gcc.target/i386/chkp-narrow-bounds.c
+++ /dev/null
@@ -1,11 +0,0 @@
-/* { dg-do compile { target { ! x32 } } } */
-/* { dg-options "-fcheck-pointer-bounds -mmpx -O2 -fdump-tree-chkp" } */
-/* { dg-final { scan-tree-dump "bndcl" "chkp" } } */
-/* { dg-final { scan-tree-dump "bndcu" "chkp" } } */
-
-int
-test (int *p)
-{
- int *p1 = __bnd_narrow_ptr_bounds (p - 10, p, sizeof (int) * 20);
- return p1[10];
-}