summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/i386/mpx/field-addr-10-nov.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gcc.target/i386/mpx/field-addr-10-nov.c')
-rw-r--r--gcc/testsuite/gcc.target/i386/mpx/field-addr-10-nov.c27
1 files changed, 0 insertions, 27 deletions
diff --git a/gcc/testsuite/gcc.target/i386/mpx/field-addr-10-nov.c b/gcc/testsuite/gcc.target/i386/mpx/field-addr-10-nov.c
deleted file mode 100644
index 90f79a0eaed..00000000000
--- a/gcc/testsuite/gcc.target/i386/mpx/field-addr-10-nov.c
+++ /dev/null
@@ -1,27 +0,0 @@
-/* { dg-do run } */
-/* { dg-options "-fcheck-pointer-bounds -mmpx" } */
-
-/* { dg-additional-options "-fchkp-narrow-to-innermost-array" } */
-
-#include "mpx-check.h"
-
-struct S {
- int arr[100];
-} S;
-
-struct S sa[10];
-
-int rd (int *p, int i)
-{
- int res = p[i];
- printf ("%d\n", res);
- return res;
-}
-
-int mpx_test (int argc, const char **argv)
-{
- rd (&sa[argc].arr[0], 0);
- rd (&sa[argc].arr[0], 99);
-
- return 0;
-}