summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/i386/mpx/if-stmt-2-nov.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gcc.target/i386/mpx/if-stmt-2-nov.c')
-rw-r--r--gcc/testsuite/gcc.target/i386/mpx/if-stmt-2-nov.c28
1 files changed, 0 insertions, 28 deletions
diff --git a/gcc/testsuite/gcc.target/i386/mpx/if-stmt-2-nov.c b/gcc/testsuite/gcc.target/i386/mpx/if-stmt-2-nov.c
deleted file mode 100644
index 327c108f789..00000000000
--- a/gcc/testsuite/gcc.target/i386/mpx/if-stmt-2-nov.c
+++ /dev/null
@@ -1,28 +0,0 @@
-/* { dg-do run } */
-/* { dg-options "-fcheck-pointer-bounds -mmpx" } */
-
-
-#include "mpx-check.h"
-
-int rd (int *p1, int *p2, int i)
-{
- int res;
-
- if (p1 > p2)
- p1 = p2;
-
- res = p1[i];
- printf ("%d\n", res);
- return res;
-}
-
-int buf[100];
-
-int mpx_test (int argc, const char **argv)
-{
- int *p = __bnd_set_ptr_bounds (buf + 1, 40);
- rd (buf, p, 0);
- rd (buf, p, 99);
-
- return 0;
-}