summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/i386/mpx/pointer-store-1-nov.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gcc.target/i386/mpx/pointer-store-1-nov.c')
-rw-r--r--gcc/testsuite/gcc.target/i386/mpx/pointer-store-1-nov.c29
1 files changed, 0 insertions, 29 deletions
diff --git a/gcc/testsuite/gcc.target/i386/mpx/pointer-store-1-nov.c b/gcc/testsuite/gcc.target/i386/mpx/pointer-store-1-nov.c
deleted file mode 100644
index 269e3af17f0..00000000000
--- a/gcc/testsuite/gcc.target/i386/mpx/pointer-store-1-nov.c
+++ /dev/null
@@ -1,29 +0,0 @@
-/* { dg-do run } */
-/* { dg-options "-fcheck-pointer-bounds -mmpx" } */
-
-
-#include "mpx-check.h"
-
-int *buf1[100];
-int buf2[100];
-
-void wr (int i)
-{
- buf1[i] = buf2;
-}
-
-int rd(int i, int j)
-{
- int res = buf1[i][j];
- printf("%d\n", res);
- return res;
-}
-
-int mpx_test (int argc, const char **argv)
-{
- wr(10);
- rd(10, 0);
- rd(10, 99);
-
- return 0;
-}