summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/i386/chkp-lifetime-1.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gcc.target/i386/chkp-lifetime-1.c')
-rw-r--r--gcc/testsuite/gcc.target/i386/chkp-lifetime-1.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/gcc/testsuite/gcc.target/i386/chkp-lifetime-1.c b/gcc/testsuite/gcc.target/i386/chkp-lifetime-1.c
deleted file mode 100644
index 70b8b38dc28..00000000000
--- a/gcc/testsuite/gcc.target/i386/chkp-lifetime-1.c
+++ /dev/null
@@ -1,15 +0,0 @@
-/* { dg-do compile { target { ! x32 } } } */
-/* { dg-options "-fcheck-pointer-bounds -mmpx -O2 -fdump-tree-chkpopt-details" } */
-/* { dg-final { scan-tree-dump "Moving creation of \[^ \]+ down to its use" "chkpopt" } } */
-
-extern int arr[];
-
-int test (int i)
-{
- int res;
- if (i >= 0)
- res = arr[i];
- else
- res = -i;
- return res;
-}