diff options
Diffstat (limited to 'gcc/testsuite/gcc.target/i386/mpx/alloca-1-nov.c')
-rw-r--r-- | gcc/testsuite/gcc.target/i386/mpx/alloca-1-nov.c | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/gcc/testsuite/gcc.target/i386/mpx/alloca-1-nov.c b/gcc/testsuite/gcc.target/i386/mpx/alloca-1-nov.c deleted file mode 100644 index 835015fc432..00000000000 --- a/gcc/testsuite/gcc.target/i386/mpx/alloca-1-nov.c +++ /dev/null @@ -1,22 +0,0 @@ -/* { dg-do run } */ -/* { dg-options "-fcheck-pointer-bounds -mmpx" } */ - - -#include "mpx-check.h" - -int rd (int *p, int i) -{ - int res = p[i]; - printf ("%d\n", res); - return res; -} - -int mpx_test (int argc, const char **argv) -{ - int *buf = (int *)__builtin_alloca (100 * sizeof(int)); - - rd (buf, 0); - rd (buf, 99); - - return 0; -} |