summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/i386/chkp-remove-bndint-1.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gcc.target/i386/chkp-remove-bndint-1.c')
-rw-r--r--gcc/testsuite/gcc.target/i386/chkp-remove-bndint-1.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/gcc/testsuite/gcc.target/i386/chkp-remove-bndint-1.c b/gcc/testsuite/gcc.target/i386/chkp-remove-bndint-1.c
deleted file mode 100644
index 7c0f13f8ccf..00000000000
--- a/gcc/testsuite/gcc.target/i386/chkp-remove-bndint-1.c
+++ /dev/null
@@ -1,16 +0,0 @@
-/* { dg-do compile { target { ! x32 } } } */
-/* { dg-options "-fcheck-pointer-bounds -mmpx -O2 -fdump-tree-optimized" } */
-/* { dg-final { scan-tree-dump-not "bndint" "optimized" } } */
-
-struct S
-{
- int a;
- int b;
- int c;
-};
-
-int test (struct S *ps)
-{
- int *pi = &ps->b;
- return *pi;
-}