summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/i386/mpx/builtin-bnd-store-ptr-bounds-2.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gcc.target/i386/mpx/builtin-bnd-store-ptr-bounds-2.c')
-rw-r--r--gcc/testsuite/gcc.target/i386/mpx/builtin-bnd-store-ptr-bounds-2.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/gcc/testsuite/gcc.target/i386/mpx/builtin-bnd-store-ptr-bounds-2.c b/gcc/testsuite/gcc.target/i386/mpx/builtin-bnd-store-ptr-bounds-2.c
deleted file mode 100644
index a2ca7900915..00000000000
--- a/gcc/testsuite/gcc.target/i386/mpx/builtin-bnd-store-ptr-bounds-2.c
+++ /dev/null
@@ -1,16 +0,0 @@
-/* { dg-do run } */
-/* { dg-options "-fno-check-pointer-bounds" } */
-
-
-#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);
- return 0;
-}