summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/i386/mpx/builtin-bnd-store-ptr-bounds-1-nov.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gcc.target/i386/mpx/builtin-bnd-store-ptr-bounds-1-nov.c')
-rw-r--r--gcc/testsuite/gcc.target/i386/mpx/builtin-bnd-store-ptr-bounds-1-nov.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/gcc/testsuite/gcc.target/i386/mpx/builtin-bnd-store-ptr-bounds-1-nov.c b/gcc/testsuite/gcc.target/i386/mpx/builtin-bnd-store-ptr-bounds-1-nov.c
deleted file mode 100644
index 9e9ea305ae8..00000000000
--- a/gcc/testsuite/gcc.target/i386/mpx/builtin-bnd-store-ptr-bounds-1-nov.c
+++ /dev/null
@@ -1,18 +0,0 @@
-/* { dg-do run } */
-/* { dg-options "-fcheck-pointer-bounds -mmpx" } */
-
-
-#include "mpx-check.h"
-
-int buf[100];
-int *p;
-
-int mpx_test (int argc, const char **argv)
-{
- int *p1 = __bnd_set_ptr_bounds (buf + 10, sizeof (int) * 10);
- p = buf;
- __bnd_store_ptr_bounds ((void **)&p, p1 - 10);
- p[10] = argc;
- p[19] = argc;
- return 0;
-}