diff options
Diffstat (limited to 'gcc/testsuite/gcc.target/i386/mpx/struct-arg-10-nov.c')
-rw-r--r-- | gcc/testsuite/gcc.target/i386/mpx/struct-arg-10-nov.c | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/gcc/testsuite/gcc.target/i386/mpx/struct-arg-10-nov.c b/gcc/testsuite/gcc.target/i386/mpx/struct-arg-10-nov.c deleted file mode 100644 index b246448346d..00000000000 --- a/gcc/testsuite/gcc.target/i386/mpx/struct-arg-10-nov.c +++ /dev/null @@ -1,31 +0,0 @@ -/* { dg-do run } */ -/* { dg-options "-fcheck-pointer-bounds -mmpx" } */ - - -#include "mpx-check.h" - -struct s1 -{ - int *p; -} s1; - -int rd (int *p1, int *p2, int *p3, int *p4, int *p5, int *p6, struct s1 s, int i) -{ - int res = s.p[i]; - printf ("%d\n", res); - return res; -} - -int buf[100]; -int buf1[10]; - -int mpx_test (int argc, const char **argv) -{ - struct s1 s; - s.p = buf; - - rd (buf1, buf1, buf1, buf1, buf1, buf1, s, 0); - rd (buf1, buf1, buf1, buf1, buf1, buf1, s, 99); - - return 0; -} |