diff options
Diffstat (limited to 'gcc/testsuite/gcc.target/i386/mpx/bitfields-1-nov.c')
-rw-r--r-- | gcc/testsuite/gcc.target/i386/mpx/bitfields-1-nov.c | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/gcc/testsuite/gcc.target/i386/mpx/bitfields-1-nov.c b/gcc/testsuite/gcc.target/i386/mpx/bitfields-1-nov.c deleted file mode 100644 index 0a7913a256d..00000000000 --- a/gcc/testsuite/gcc.target/i386/mpx/bitfields-1-nov.c +++ /dev/null @@ -1,31 +0,0 @@ -/* { dg-do run } */ -/* { dg-options "-fcheck-pointer-bounds -mmpx" } */ - - -#include "mpx-check.h" - -struct s { - int a; - int b : 10; - int c : 1; - int e : 10; -} s; - -#define HH (unsigned char)1 - -int foo (struct s *p) -{ - int val = p->b; - printf ("%d\n", val); - return val == HH; -} - -int mpx_test (int argc, const char **argv) -{ - struct s buf[100]; - - foo (buf); - foo (buf + 99); - - return 0; -} |